Enum rusty_ulid::crockford::DecodingError
[−]
[src]
pub enum DecodingError { InvalidLength, InvalidChar(Option<char>), DataTypeOverflow, }
Error that can occur while decoding a crockford Base32 string.
Variants
InvalidLength
The length of the parsed string does not conform to requirements.
InvalidChar(Option<char>)
The parsed string contains a character that is not allowed in a crockford Base32 string.
DataTypeOverflow
Parsing the string overflowed the result value bits.
Trait Implementations
impl Debug for DecodingError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for DecodingError
[src]
fn eq(&self, __arg_0: &DecodingError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DecodingError) -> bool
[src]
This method tests for !=
.
impl Error for DecodingError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more