Enum bitcoin::util::misc::MessageSignatureError[][src]

pub enum MessageSignatureError {
    InvalidLength,
    InvalidEncoding(Error),
    InvalidBase64,
}

An error used for dealing with Bitcoin Signed Messages.

Variants

InvalidLength

Signature is expected to be 65 bytes.

InvalidEncoding(Error)

The signature is invalidly constructed.

InvalidBase64

Invalid base64 encoding.

Trait Implementations

impl Debug for MessageSignatureError[src]

impl Display for MessageSignatureError[src]

impl Error for MessageSignatureError[src]

impl PartialEq<MessageSignatureError> for MessageSignatureError[src]

impl Eq for MessageSignatureError[src]

impl StructuralEq for MessageSignatureError[src]

impl StructuralPartialEq for MessageSignatureError[src]

Auto Trait Implementations

impl RefUnwindSafe for MessageSignatureError

impl Send for MessageSignatureError

impl Sync for MessageSignatureError

impl Unpin for MessageSignatureError

impl UnwindSafe for MessageSignatureError

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> 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.