Struct aliri_axum::VerboseAuthxErrors
source · pub struct VerboseAuthxErrors;
Expand description
Add this type as an extension to produce verbose errors when authentication or authorization fails
When this extension is not present, terse errors are produced.
Trait Implementations§
source§impl Clone for VerboseAuthxErrors
impl Clone for VerboseAuthxErrors
source§fn clone(&self) -> VerboseAuthxErrors
fn clone(&self) -> VerboseAuthxErrors
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VerboseAuthxErrors
impl Debug for VerboseAuthxErrors
source§impl PartialEq for VerboseAuthxErrors
impl PartialEq for VerboseAuthxErrors
source§fn eq(&self, other: &VerboseAuthxErrors) -> bool
fn eq(&self, other: &VerboseAuthxErrors) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VerboseAuthxErrors
impl Eq for VerboseAuthxErrors
impl StructuralPartialEq for VerboseAuthxErrors
Auto Trait Implementations§
impl Freeze for VerboseAuthxErrors
impl RefUnwindSafe for VerboseAuthxErrors
impl Send for VerboseAuthxErrors
impl Sync for VerboseAuthxErrors
impl Unpin for VerboseAuthxErrors
impl UnwindSafe for VerboseAuthxErrors
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