Enum short_crypt::base64::DecodeError[]

pub enum DecodeError {
    InvalidByte(usizeu8),
    InvalidLength,
}

Errors that can occur while decoding.

Variants

An invalid byte was found in the input. The offset and offending byte are provided.

The length of the input is invalid.

Trait Implementations

impl Error for DecodeError

This method is soft-deprecated. Read more

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

impl Display for DecodeError

Formats the value using the given formatter. Read more

impl Clone for DecodeError

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DecodeError

Formats the value using the given formatter. Read more

impl Eq for DecodeError

impl PartialEq<DecodeError> for DecodeError

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

This method tests for !=.

Auto Trait Implementations

impl Send for DecodeError

impl Sync for DecodeError