pub enum JWTError {
MalformedToken,
MalformedEncoding,
CompromisedIntegrity,
}
Variants§
Implementations§
Source§impl JWTError
impl JWTError
pub fn get_message(&self) -> String
pub fn get_message_encoded(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JWTError
impl RefUnwindSafe for JWTError
impl Send for JWTError
impl Sync for JWTError
impl Unpin for JWTError
impl UnwindSafe for JWTError
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