Enum rusty_ulid::crockford::DecodingError [−][src]
pub enum DecodingError { InvalidLength, InvalidChar(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(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]
impl Debug for DecodingError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DecodingError
[src]
impl PartialEq for DecodingError
fn eq(&self, other: &DecodingError) -> bool
[src]
fn eq(&self, other: &DecodingError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DecodingError) -> bool
[src]
fn ne(&self, other: &DecodingError) -> bool
This method tests for !=
.
impl Error for DecodingError
[src]
impl Error for DecodingError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for DecodingError
[src]
impl Display for DecodingError
Auto Trait Implementations
impl Send for DecodingError
impl Send for DecodingError
impl Sync for DecodingError
impl Sync for DecodingError