pub struct JwtGuard { /* private fields */ }Expand description
Bearer-token guard produced by Auth::jwt / Auth::optional_jwt.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JwtGuard
impl RefUnwindSafe for JwtGuard
impl Send for JwtGuard
impl Sync for JwtGuard
impl Unpin for JwtGuard
impl UnsafeUnpin for JwtGuard
impl UnwindSafe for JwtGuard
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