[][src]Enum async_proxy::clients::socks4::ErrorKind

pub enum ErrorKind {
    IOError(Error),
    BadBuffer,
    RequestDenied,
    IdentIsUnavailable,
    BadIdent,
    OperationTimeoutReached,
}

Represents a Socks4 protocol error that can occur when connecting to a destination

Variants

IOError(Error)

Indicates that an error occured during a native I/O operation, such as writing to or reading from a stream

BadBuffer

Indicates that a bad (wrong, not readable by Socks4) buffer is received

RequestDenied

Indicates that the request (for ex., for connection) is denied

IdentIsUnavailable

Indicates that the Ident service is not available on the server side

BadIdent

Indicates that a bad ident is passed in a payload so that the server refused a connection request

OperationTimeoutReached

Indicates that a timeouts has been reached when connecting to a service

Trait Implementations

impl Display for ErrorKind[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> ToString for T where
    T: Display + ?Sized
[src]

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.