[][src]Enum awc::error::ConnectError

pub enum ConnectError {
    SslIsNotSupported,
    SslError(Error),
    Resolver(ResolveError),
    NoRecords,
    H2(Error),
    Timeout,
    Disconnected,
    Unresolverd,
    Io(Error),
}

A set of errors that can occur while connecting to an HTTP host

Variants

SslIsNotSupported

SSL feature is not enabled

SslError(Error)

SSL error

Resolver(ResolveError)

Failed to resolve the hostname

NoRecords

No dns records

H2(Error)

Http2 error

Timeout

Connecting took too long

Disconnected

Connector has been disconnected

Unresolverd

Unresolved host name

Io(Error)

Connection io error

Trait Implementations

impl From<ConnectError> for SendRequestError[src]

impl From<Error> for ConnectError[src]

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

impl From<Error> for ConnectError[src]

impl From<ResolveError> for ConnectError[src]

impl From<Error> for ConnectError[src]

impl From<ConnectError> for ConnectError[src]

impl Display for ConnectError[src]

impl Debug for ConnectError[src]

Auto Trait Implementations

Blanket Implementations

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.

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

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

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

impl<T> Erased for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,