Enum jwt::error::Error [] [src]

pub enum Error {
    Format,
    Base64,
    Decode,
    Encode,
    Json,
    Parse,
    Utf8,
}

Variants

FormatBase64DecodeEncodeJsonParseUtf8

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl From<FromBase64Error> for Error
[src]

fn from(_: FromBase64Error) -> Error

Performs the conversion.

impl From<DecoderError> for Error
[src]

fn from(_: DecoderError) -> Error

Performs the conversion.

impl From<EncoderError> for Error
[src]

fn from(_: EncoderError) -> Error

Performs the conversion.

impl From<ErrorCode> for Error
[src]

fn from(_: ErrorCode) -> Error

Performs the conversion.

impl From<ParserError> for Error
[src]

fn from(_: ParserError) -> Error

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

fn from(_: FromUtf8Error) -> Error

Performs the conversion.