Enum jaws::token::TokenSigningError
source · pub enum TokenSigningError<E> {
Signing(E),
Serialization(Error),
}Expand description
An error which occured while verifying a token.
Variants§
Signing(E)
The verification failed during the cryptographic process, meaning that the signature was invalid, or the algorithm was invalid.
Serialization(Error)
An error occured while serailizing the header or payload for signature computation. This indicates that something is probably wrong with your custom types.
Trait Implementations§
source§impl<E: Debug> Debug for TokenSigningError<E>
impl<E: Debug> Debug for TokenSigningError<E>
source§impl<E> Display for TokenSigningError<E>where
E: Display,
impl<E> Display for TokenSigningError<E>where
E: Display,
source§impl<E> Error for TokenSigningError<E>
impl<E> Error for TokenSigningError<E>
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<E> !RefUnwindSafe for TokenSigningError<E>
impl<E> Send for TokenSigningError<E>where
E: Send,
impl<E> Sync for TokenSigningError<E>where
E: Sync,
impl<E> Unpin for TokenSigningError<E>where
E: Unpin,
impl<E> !UnwindSafe for TokenSigningError<E>
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