Enum bitcoin_bech32::Error [] [src]

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

Error types while encoding and decoding SegWit addresses

Variants

Some Bech32 conversion error

Some witness program error

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

Trait Implementations

impl PartialEq for Error
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<WitnessProgramError> for Error
[src]

[src]

Performs the conversion.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

[src]

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

Auto Trait Implementations

impl Send for Error

impl Sync for Error