Enum basenc::Error [] [src]

pub enum Error {
    InvalidChar(char),
    BadLength,
    Denormal,
}

Decoding error.

Note that encoding can never fail.

Variants

Not a valid character in the alphabet.

Input has incorrect length or is not padded to the required length.

Input is not canonical.

Unused padding MUST consist of zero bits.

Trait Implementations

impl Copy for Error
[src]

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Eq for Error
[src]

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more