Enum elements::schnorr::SchnorrSigError
source · pub enum SchnorrSigError {
InvalidSighashType(u8),
InvalidSchnorrSig,
}
Expand description
A schnorr sig related error.
Variants§
Trait Implementations§
source§impl Clone for SchnorrSigError
impl Clone for SchnorrSigError
source§fn clone(&self) -> SchnorrSigError
fn clone(&self) -> SchnorrSigError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SchnorrSigError
impl Debug for SchnorrSigError
source§impl Display for SchnorrSigError
impl Display for SchnorrSigError
source§impl Error for SchnorrSigError
impl Error for SchnorrSigError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl Hash for SchnorrSigError
impl Hash for SchnorrSigError
source§impl Ord for SchnorrSigError
impl Ord for SchnorrSigError
source§fn cmp(&self, other: &SchnorrSigError) -> Ordering
fn cmp(&self, other: &SchnorrSigError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SchnorrSigError
impl PartialEq for SchnorrSigError
source§fn eq(&self, other: &SchnorrSigError) -> bool
fn eq(&self, other: &SchnorrSigError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SchnorrSigError
impl PartialOrd for SchnorrSigError
source§fn partial_cmp(&self, other: &SchnorrSigError) -> Option<Ordering>
fn partial_cmp(&self, other: &SchnorrSigError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for SchnorrSigError
impl StructuralPartialEq for SchnorrSigError
Auto Trait Implementations§
impl RefUnwindSafe for SchnorrSigError
impl Send for SchnorrSigError
impl Sync for SchnorrSigError
impl Unpin for SchnorrSigError
impl UnwindSafe for SchnorrSigError
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