Enum actix_http::error::DispatchError
source · [−]pub enum DispatchError {
Service(Response<BoxBody>),
Body(Box<dyn StdError>),
Upgrade,
Io(Error),
Parse(ParseError),
SlowRequestTimeout,
DisconnectTimeout,
InternalError,
}Expand description
A set of errors that can occur during dispatching HTTP requests.
Variants
Service(Response<BoxBody>)
Service error.
Body(Box<dyn StdError>)
Body streaming error.
Upgrade
Upgrade service error.
Io(Error)
An io::Error that occurred while trying to read or write to a network stream.
Parse(ParseError)
Request parse error.
SlowRequestTimeout
The first request did not complete within the specified timeout.
DisconnectTimeout
Disconnect timeout. Makes sense for ssl streams.
InternalError
Internal error.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
