Enum bech32::Error
[−]
[src]
pub enum Error { MissingSeparator, InvalidChecksum, InvalidLength, InvalidChar(u8), InvalidData(u8), MixedCase, }
Error types for Bech32 encoding / decoding
Variants
MissingSeparator
String does not contain the separator character
InvalidChecksum
The checksum does not match the rest of the data
InvalidLength
The data or human-readable part is too long or too short
InvalidChar(u8)
Some part of the string contains an invalid character
InvalidData(u8)
Some part of the data has an invalid value
MixedCase
The whole string must be of one case
Trait Implementations
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=
.