Enum ntex::http::client::error::ConnectError [−][src]
pub enum ConnectError {
SslIsNotSupported,
SslError(SslError),
SslHandshakeError(String),
Resolver(Error),
NoRecords,
H2(Error),
Timeout,
Disconnected(Option<Error>),
Unresolved,
}
Expand description
A set of errors that can occur while connecting to an HTTP host
Variants
SslIsNotSupported
SSL feature is not enabled
SslError(SslError)
Tuple Fields
0: SslError
SSL error
SslHandshakeError(String)
Tuple Fields
0: String
SSL Handshake error
Resolver(Error)
Tuple Fields
0: Error
Failed to resolve the hostname
NoRecords
No dns records
H2(Error)
Tuple Fields
0: Error
Http2 error
Timeout
Connecting took too long
Disconnected(Option<Error>)
Connector has been disconnected
Unresolved
Unresolved host name
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ConnectError
impl Send for ConnectError
impl Sync for ConnectError
impl Unpin for ConnectError
impl !UnwindSafe for ConnectError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more