Enum base64::Base64Error [] [src]

pub enum Base64Error {
    Utf8(FromUtf8Error),
    InvalidByte(usizeu8),
    InvalidLength,
}

Variants

Utf8(FromUtf8Error)InvalidByte(usizeu8)InvalidLength

Trait Implementations

impl Debug for Base64Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Base64Error
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for Base64Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

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

impl From<FromUtf8Error> for Base64Error
[src]

fn from(err: FromUtf8Error) -> Base64Error

Performs the conversion.