pub struct AuthRejection { /* private fields */ }Expand description
Rejection type when JWT authentication fails.
Trait Implementations§
Source§impl IntoResponse for AuthRejection
impl IntoResponse for AuthRejection
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for AuthRejection
impl RefUnwindSafe for AuthRejection
impl Send for AuthRejection
impl Sync for AuthRejection
impl Unpin for AuthRejection
impl UnsafeUnpin for AuthRejection
impl UnwindSafe for AuthRejection
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