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: InvalidUrlFailed to connect to host
Tuple Fields of Connect
0: ConnectErrorError sending request
Tuple Fields of Send
0: ErrorError parsing response
Tuple Fields of Response
0: ParseErrorHttp error
Tuple Fields of Http
0: HttpErrorHttp2 error
Tuple Fields of H2
0: ErrorResponse took too long
Tunnels are not supported for http2 connection
Error sending request body
Tuple Fields of Body
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.