Enum josekit::JoseError[][src]

pub enum JoseError {
    UnsupportedSignatureAlgorithm(Error),
    InvalidJwtFormat(Error),
    InvalidJwkFormat(Error),
    InvalidJwsFormat(Error),
    InvalidJweFormat(Error),
    InvalidKeyFormat(Error),
    InvalidJson(Error),
    InvalidClaim(Error),
    InvalidSignature(Error),
}

Variants

UnsupportedSignatureAlgorithm(Error)

Tuple Fields of UnsupportedSignatureAlgorithm

0: Error
InvalidJwtFormat(Error)

Tuple Fields of InvalidJwtFormat

0: Error
InvalidJwkFormat(Error)

Tuple Fields of InvalidJwkFormat

0: Error
InvalidJwsFormat(Error)

Tuple Fields of InvalidJwsFormat

0: Error
InvalidJweFormat(Error)

Tuple Fields of InvalidJweFormat

0: Error
InvalidKeyFormat(Error)

Tuple Fields of InvalidKeyFormat

0: Error
InvalidJson(Error)

Tuple Fields of InvalidJson

0: Error
InvalidClaim(Error)

Tuple Fields of InvalidClaim

0: Error
InvalidSignature(Error)

Tuple Fields of InvalidSignature

0: Error

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.