pub enum TokenVerificationError {
FailedParsing,
FailedGettingKeys,
InvalidSignatureKey,
InvalidSignature,
InvalidSignatureAlgorithm,
Expired,
IssuedInFuture,
InvalidAudience,
InvalidIssuer,
MissingSubject,
}Variants§
FailedParsing
FailedGettingKeys
InvalidSignatureKey
InvalidSignature
InvalidSignatureAlgorithm
Expired
IssuedInFuture
InvalidAudience
InvalidIssuer
MissingSubject
Trait Implementations§
source§impl Clone for TokenVerificationError
impl Clone for TokenVerificationError
source§fn clone(&self) -> TokenVerificationError
fn clone(&self) -> TokenVerificationError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TokenVerificationError
impl Debug for TokenVerificationError
source§impl Display for TokenVerificationError
impl Display for TokenVerificationError
source§impl Error for TokenVerificationError
impl Error for TokenVerificationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for TokenVerificationError
impl RefUnwindSafe for TokenVerificationError
impl Send for TokenVerificationError
impl Sync for TokenVerificationError
impl Unpin for TokenVerificationError
impl UnwindSafe for TokenVerificationError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more