Enum async_socks5::AuthMethod
source · 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
source§fn eq(&self, other: &AuthMethod) -> bool
fn eq(&self, other: &AuthMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AuthMethod
impl Eq for AuthMethod
impl StructuralPartialEq for AuthMethod
Auto Trait Implementations§
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