Enum bitcoin_bech32::Error
[−]
[src]
pub enum Error { Bech32(Error), WitnessProgram(WitnessProgramError), Conversion(BitConversionError), InvalidHumanReadablePart, }
Error types while encoding and decoding SegWit addresses
Variants
Bech32(Error)
Some Bech32 conversion error
WitnessProgram(WitnessProgramError)
Some witness program error
Conversion(BitConversionError)
Some 5-bit <-> 8-bit conversion error
InvalidHumanReadablePart
The human-readable part is invalid (must be "bc" or "tb")
Trait Implementations
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
[src]
This method tests for !=
.
impl Debug for Error
[src]
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more