Enum actix_http::client::ConnectError [−][src]
pub enum ConnectError { SslIsNotSupported, SslError(SslError), SslHandshakeError(String), Resolver(ResolveError), NoRecords, H2(Error), Timeout, Disconnected, Unresolved, Io(Error), }
Expand description
A set of errors that can occur while connecting to an HTTP host
Variants
SSL feature is not enabled
SSL error
Tuple Fields of SslError
0: SslError
SSL Handshake error
Tuple Fields of SslHandshakeError
0: String
Failed to resolve the hostname
No dns records
Http2 error
Tuple Fields of H2
0: Error
Connecting took too long
Connector has been disconnected
Unresolved host name
Connection io error
Tuple Fields of Io
0: Error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.