pub enum SchnorrError {
InvalidPoint,
InvalidScalar,
HexError(String),
}Expand description
Errors during proof operations.
Variants§
InvalidPoint
Point decoding failed.
InvalidScalar
Scalar decoding failed.
HexError(String)
Hex decoding failed.
Trait Implementations§
Source§impl Debug for SchnorrError
impl Debug for SchnorrError
Source§impl Display for SchnorrError
impl Display for SchnorrError
Source§impl Error for SchnorrError
impl Error for SchnorrError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SchnorrError
impl RefUnwindSafe for SchnorrError
impl Send for SchnorrError
impl Sync for SchnorrError
impl Unpin for SchnorrError
impl UnsafeUnpin for SchnorrError
impl UnwindSafe for SchnorrError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more