pub enum AuthMethod {
None,
GssApi,
UsernamePassword,
IanaReserved(u8),
Private(u8),
}
Expand description
A proxy authentication method.
Variants§
None
No authentication required.
GssApi
GSS API.
UsernamePassword
A username + password authentication.
IanaReserved(u8)
IANA reserved.
Private(u8)
A private authentication method.
Trait Implementations§
Source§impl Clone for AuthMethod
impl Clone for AuthMethod
Source§fn clone(&self) -> AuthMethod
fn clone(&self) -> AuthMethod
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 AuthMethod
impl Debug for AuthMethod
Source§impl Hash for AuthMethod
impl Hash for AuthMethod
Source§impl PartialEq for AuthMethod
impl PartialEq for AuthMethod
impl Copy for AuthMethod
impl Eq for AuthMethod
impl StructuralPartialEq for AuthMethod
Auto Trait Implementations§
impl Freeze for AuthMethod
impl RefUnwindSafe for AuthMethod
impl Send for AuthMethod
impl Sync for AuthMethod
impl Unpin for AuthMethod
impl UnwindSafe for AuthMethod
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