Enum bitcoin_bech32::Error [] [src]

pub enum Error {
    Bech32(Error),
    WitnessProgram(WitnessProgramError),
    Conversion(BitConversionError),
    InvalidHumanReadablePart,
}

Error types while encoding and decoding SegWit addresses

Variants

Some Bech32 conversion error

Some witness program error

Some 5-bit <-> 8-bit conversion error

The human-readable part is invalid (must be "bc" or "tb")

Trait Implementations

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 Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

A short description of the error. Read more

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