pub enum InvalidSecretKeyError {
InvalidJwt,
MissingIssuer,
}Variants§
Trait Implementations§
Source§impl Clone for InvalidSecretKeyError
impl Clone for InvalidSecretKeyError
Source§fn clone(&self) -> InvalidSecretKeyError
fn clone(&self) -> InvalidSecretKeyError
Returns a duplicate 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 InvalidSecretKeyError
impl Debug for InvalidSecretKeyError
Source§impl Display for InvalidSecretKeyError
impl Display for InvalidSecretKeyError
Source§impl Error for InvalidSecretKeyError
impl Error for InvalidSecretKeyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl From<InvalidSecretKeyError> for ParseError
impl From<InvalidSecretKeyError> for ParseError
Source§fn from(value: InvalidSecretKeyError) -> Self
fn from(value: InvalidSecretKeyError) -> Self
Converts to this type from the input type.
Source§impl Ord for InvalidSecretKeyError
impl Ord for InvalidSecretKeyError
Source§fn cmp(&self, other: &InvalidSecretKeyError) -> Ordering
fn cmp(&self, other: &InvalidSecretKeyError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InvalidSecretKeyError
impl PartialEq for InvalidSecretKeyError
Source§impl PartialOrd for InvalidSecretKeyError
impl PartialOrd for InvalidSecretKeyError
impl Eq for InvalidSecretKeyError
impl StructuralPartialEq for InvalidSecretKeyError
Auto Trait Implementations§
impl Freeze for InvalidSecretKeyError
impl RefUnwindSafe for InvalidSecretKeyError
impl Send for InvalidSecretKeyError
impl Sync for InvalidSecretKeyError
impl Unpin for InvalidSecretKeyError
impl UnwindSafe for InvalidSecretKeyError
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