Enum jwtk::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 14 variants
InvalidToken,
VerificationError,
AlgMismatch,
NoKid,
NoKey,
Expired,
Before,
UnsupportedOrInvalidKey,
Utf8(FromUtf8Error),
IoError(Error),
OpenSsl(ErrorStack),
SerdeJson(Error),
Decode(DecodeError),
Reqwest(Error),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidToken
VerificationError
AlgMismatch
NoKid
NoKey
Expired
Before
The token is not valid yet , i.e. nbf
check failed.
UnsupportedOrInvalidKey
Utf8(FromUtf8Error)
Tuple Fields
IoError(Error)
Tuple Fields
0: Error
OpenSsl(ErrorStack)
Tuple Fields
0: ErrorStack
SerdeJson(Error)
Tuple Fields
0: Error
Decode(DecodeError)
Tuple Fields
0: DecodeError
Reqwest(Error)
Tuple Fields
0: Error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.