[][src]Enum actix_web::client::ConnectError

pub enum ConnectError {
    SslIsNotSupported,
    SslError(Error),
    SslHandshakeError(String),
    Resolver(ResolveError),
    NoRecords,
    H2(Error),
    Timeout,
    Disconnected,
    Unresolved,
    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

SslHandshakeError(String)

SSL Handshake 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

Unresolved

Unresolved host name

Io(Error)

Connection io error

Trait Implementations

impl Debug for ConnectError[src]

impl Display for ConnectError[src]

impl Error for ConnectError[src]

impl From<ConnectError> for ConnectError[src]

impl From<ConnectError> for SendRequestError[src]

impl From<Error> for ConnectError[src]

impl From<Error> for ConnectError[src]

impl From<Error> for ConnectError[src]

impl<T> From<HandshakeError<T>> for ConnectError where
    T: Debug
[src]

impl From<ResolveError> for ConnectError[src]

impl From<String> for ConnectError[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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,