pub enum ErrorKind {
Show 14 variants
JsonParse,
FetchFailed,
WrongToken,
ExpiredToken,
NotBefore,
ValidationFail,
DoesNotSupportAlgorithm {
kind: AlgorithmKind,
},
NotFoundPayloadItem {
item: PayloadItem,
},
NotFoundHeaderItem {
item: HeaderItem,
},
NotFoundJwks,
NotFoundx5c,
OpenSSLError,
NotExpectedIssuer,
Others,
}
Variants§
JsonParse
FetchFailed
WrongToken
ExpiredToken
NotBefore
ValidationFail
DoesNotSupportAlgorithm
Fields
§
kind: AlgorithmKind
NotFoundPayloadItem
Fields
§
item: PayloadItem
NotFoundHeaderItem
Fields
§
item: HeaderItem
NotFoundJwks
NotFoundx5c
OpenSSLError
NotExpectedIssuer
Others
Trait Implementations§
source§impl Fail for ErrorKind
impl Fail for ErrorKind
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more