pub enum AuthDecision {
UseHeaders(Vec<Header>),
NoMatch,
Abort,
}Expand description
Authentication handler result for a challenge set.
Variants§
UseHeaders(Vec<Header>)
Retry the request with these headers.
NoMatch
Do not handle this challenge.
Abort
Stop authentication processing and return an error.
Trait Implementations§
Source§impl Clone for AuthDecision
impl Clone for AuthDecision
Source§fn clone(&self) -> AuthDecision
fn clone(&self) -> AuthDecision
Returns a duplicate 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 AuthDecision
impl Debug for AuthDecision
Source§impl PartialEq for AuthDecision
impl PartialEq for AuthDecision
impl Eq for AuthDecision
impl StructuralPartialEq for AuthDecision
Auto Trait Implementations§
impl Freeze for AuthDecision
impl RefUnwindSafe for AuthDecision
impl Send for AuthDecision
impl Sync for AuthDecision
impl Unpin for AuthDecision
impl UnsafeUnpin for AuthDecision
impl UnwindSafe for AuthDecision
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