pub enum AuthRejection {
MissingAuth,
InvalidToken,
MalformedHeader,
}Expand description
Rejection type for auth extraction
Variants§
Trait Implementations§
Source§impl Debug for AuthRejection
impl Debug for AuthRejection
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 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