[][src]Enum dup_crypto::keys::SigError

pub enum SigError {
    NotSameAlgo,
    InvalidSig,
    NotSig,
    SerdeError(String),
}

Errors enumeration for signature verification.

Variants

NotSameAlgo

Signature and pubkey are not the same algo

InvalidSig

Invalid signature

NotSig

Absence of signature

SerdeError(String)

Serialization error

Trait Implementations

impl Debug for SigError[src]

impl Display for SigError[src]

impl Eq for SigError[src]

impl Error for SigError[src]

impl PartialEq<SigError> for SigError[src]

impl StructuralEq for SigError[src]

impl StructuralPartialEq for SigError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.