Enum actix_web::client::ClientConnectorError
source · pub enum ClientConnectorError {
InvalidUrl,
SslIsNotSupported,
SslError(SslError),
Resolver(ResolverError),
Timeout,
Disconnected,
IoError(Error),
}
Expand description
A set of errors that can occur while connecting to an HTTP host
Variants
InvalidUrl
Invalid URL
SslIsNotSupported
SSL feature is not enabled
SslError(SslError)
SSL error
Resolver(ResolverError)
Resolver error
Timeout
Connection took too long
Disconnected
Connector has been disconnected
IoError(Error)
Connection IO error
Trait Implementations
sourceimpl Debug for ClientConnectorError
impl Debug for ClientConnectorError
sourceimpl Display for ClientConnectorError
impl Display for ClientConnectorError
sourceimpl Fail for ClientConnectorError
impl Fail for ClientConnectorError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl From<ClientConnectorError> for SendRequestError
impl From<ClientConnectorError> for SendRequestError
sourcefn from(err: ClientConnectorError) -> SendRequestError
fn from(err: ClientConnectorError) -> SendRequestError
Converts to this type from the input type.
sourceimpl From<ResolverError> for ClientConnectorError
impl From<ResolverError> for ClientConnectorError
sourcefn from(err: ResolverError) -> ClientConnectorError
fn from(err: ResolverError) -> ClientConnectorError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for ClientConnectorError
impl Send for ClientConnectorError
impl Sync for ClientConnectorError
impl Unpin for ClientConnectorError
impl !UnwindSafe for ClientConnectorError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more