[][src]Enum async_socks5::AuthMethod

pub enum AuthMethod {
    None,
    GssApi,
    UsernamePassword,
    IanaReserved(u8),
    Private(u8),
}

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

impl Clone for AuthMethod[src]

impl Copy for AuthMethod[src]

impl Debug for AuthMethod[src]

impl Eq for AuthMethod[src]

impl Hash for AuthMethod[src]

impl PartialEq<AuthMethod> for AuthMethod[src]

impl StructuralEq for AuthMethod[src]

impl StructuralPartialEq for AuthMethod[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.