Enum jwt::error::Error [−][src]
pub enum Error {
Show 15 variants
AlgorithmMismatch(AlgorithmType, AlgorithmType),
Base64(DecodeError),
Format,
InvalidSignature,
Json(JsonError),
NoClaimsComponent,
NoHeaderComponent,
NoKeyId,
NoKeyWithKeyId(String),
NoSignatureComponent,
RustCryptoMac(MacError),
RustCryptoMacKeyLength(InvalidKeyLength),
TooManyComponents,
Utf8(FromUtf8Error),
OpenSsl(ErrorStack),
}
Variants
AlgorithmMismatch(AlgorithmType, AlgorithmType)
Tuple Fields of AlgorithmMismatch
Base64(DecodeError)
Tuple Fields of Base64
0: DecodeError
Json(JsonError)
Tuple Fields of Json
0: JsonError
NoKeyWithKeyId(String)
Tuple Fields of NoKeyWithKeyId
0: String
RustCryptoMac(MacError)
Tuple Fields of RustCryptoMac
0: MacError
RustCryptoMacKeyLength(InvalidKeyLength)
Tuple Fields of RustCryptoMacKeyLength
Utf8(FromUtf8Error)
Tuple Fields of Utf8
OpenSsl(ErrorStack)
Tuple Fields of OpenSsl
0: ErrorStack
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.