Enum actix_http::error::DispatchError [−][src]
pub enum DispatchError {
Service(Error),
Upgrade,
Io(Error),
Parse(ParseError),
H2(Error),
SlowRequestTimeout,
DisconnectTimeout,
PayloadIsNotConsumed,
MalformedRequest,
InternalError,
Unknown,
}Expand description
A set of errors that can occur during dispatching http requests
Variants
Service error
Tuple Fields of Service
0: ErrorUpgrade service error
An io::Error that occurred while trying to read or write to a network
stream.
Tuple Fields of Io
0: ErrorHttp request parse error.
Tuple Fields of Parse
0: ParseErrorHttp/2 error
Tuple Fields of H2
0: ErrorThe first request did not complete within the specified timeout.
Disconnect timeout. Makes sense for ssl streams.
Payload is not consumed
Malformed request
Internal error
Unknown error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.