Enum bitcoin::util::base58::Error[][src]

pub enum Error {
    BadByte(u8),
    BadChecksum(u32u32),
    InvalidLength(usize),
    InvalidVersion(Vec<u8>),
    TooShort(usize),
    Other(String),
}

An error that might occur during base58 decoding

Variants

Invalid character encountered

Checksum was not correct (expected, actual)

The length (in bytes) of the object was not correct Note that if the length is excessively long the provided length may be an estimate (and the checksum step may be skipped).

Version byte(s) were not recognized

Checked data was less than 4 bytes

Any other error

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Error
[src]

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

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

This method is soft-deprecated. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error