pub enum AuthChallengeResponseType {
Default,
CancelAuth,
ProvideCredentials,
}Expand description
The decision on what to do in response to the authorization challenge.
Variants§
Default
Defer to the default behavior of the net stack.
CancelAuth
Cancel the authentication.
ProvideCredentials
Provide credentials.
Trait Implementations§
Source§impl Clone for AuthChallengeResponseType
impl Clone for AuthChallengeResponseType
Source§fn clone(&self) -> AuthChallengeResponseType
fn clone(&self) -> AuthChallengeResponseType
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 AuthChallengeResponseType
impl Debug for AuthChallengeResponseType
Source§impl<'de> Deserialize<'de> for AuthChallengeResponseType
impl<'de> Deserialize<'de> for AuthChallengeResponseType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for AuthChallengeResponseType
impl Eq for AuthChallengeResponseType
impl StructuralPartialEq for AuthChallengeResponseType
Auto Trait Implementations§
impl Freeze for AuthChallengeResponseType
impl RefUnwindSafe for AuthChallengeResponseType
impl Send for AuthChallengeResponseType
impl Sync for AuthChallengeResponseType
impl Unpin for AuthChallengeResponseType
impl UnwindSafe for AuthChallengeResponseType
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