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

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 PartialEq<MessageSignatureError> for MessageSignatureError[src]

impl Eq for MessageSignatureError[src]

impl Display for MessageSignatureError[src]

impl Debug for MessageSignatureError[src]

impl Error for MessageSignatureError[src]

fn description(&self) -> &str1.0.0[src]

This method is soft-deprecated. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

impl Unpin for MessageSignatureError

impl Sync for MessageSignatureError

impl Send for MessageSignatureError

impl UnwindSafe for MessageSignatureError

impl RefUnwindSafe for MessageSignatureError

Blanket Implementations

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.

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

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

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