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