[][src]Enum jwks_client::error::Type

pub enum Type {
    Invalid,
    Expired,
    Early,
    Certificate,
    Key,
    Connection,
    Header,
    Payload,
    Signature,
    Internal,
}

Type of error encountered

Variants

Invalid

Token is invalid For example, the format of the token is not "HEADER.PAYLOAD.SIGNATURE"

Expired

Token has expired

Early

Not Before (nbf) is set and it's too early to use the token

Certificate

Problem with certificate

Key

Problem with key

Connection

Could not download key set

Header

Problem with JWT header

Payload

Problem with JWT payload

Signature

Problem with JWT signature

Internal

Internal problem (Signals a serious bug or fatal error)

Trait Implementations

impl PartialEq<Type> for Type[src]

impl Debug for Type[src]

Auto Trait Implementations

impl Send for Type

impl Unpin for Type

impl Sync for Type

impl UnwindSafe for Type

impl RefUnwindSafe for Type

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err