Enum oysterpack_uid::uid::DecodingError [−][src]
pub enum DecodingError { InvalidLength, InvalidChar(char), DataTypeOverflow, }
Types of errors that can occur while trying to decode a string into a ulid
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 From<DecodingError> for DecodingError
[src]
impl From<DecodingError> for DecodingError
fn from(err: DecodingError) -> Self
[src]
fn from(err: DecodingError) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for DecodingError
impl Send for DecodingError
impl Sync for DecodingError
impl Sync for DecodingError