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: SslErrorSSL Handshake error
Tuple Fields of SslHandshakeError
0: StringFailed to resolve the hostname
No dns records
Http2 error
Tuple Fields of H2
0: ErrorConnecting took too long
Connector has been disconnected
Unresolved host name
Connection io error
Tuple Fields of Io
0: ErrorTrait 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.