Enum actix_http::client::SendRequestError [−][src]
pub enum SendRequestError { Url(InvalidUrl), Connect(ConnectError), Send(Error), Response(ParseError), Http(HttpError), H2(Error), Timeout, TunnelNotSupported, Body(Error), }
Expand description
A set of errors that can occur during request sending and response reading
Variants
Invalid URL
Tuple Fields of Url
0: InvalidUrl
Failed to connect to host
Tuple Fields of Connect
0: ConnectError
Error sending request
Tuple Fields of Send
0: Error
Error parsing response
Tuple Fields of Response
0: ParseError
Http error
Tuple Fields of Http
0: HttpError
Http2 error
Tuple Fields of H2
0: Error
Response took too long
Tunnels are not supported for http2 connection
Error sending request body
Tuple Fields of Body
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.