Enum dev_bestia_simple_server::Error [−][src]
pub enum Error {
Io(Error),
Http(Error),
HttpParse(Error),
InvalidUri(InvalidUri),
Timeout,
RequestTooLarge,
ConnectionClosed,
// some variants omitted
}
Expand description
Various errors that may happen while handling requests.
Variants
Io(Error)
An error while doing I/O.
Tuple Fields of Io
0: Error
Http(Error)
An HTTP error.
Tuple Fields of Http
0: Error
HttpParse(Error)
An error while parsing the HTTP request.
Tuple Fields of HttpParse
0: Error
InvalidUri(InvalidUri)
An error while parsing the URI of the request.
Tuple Fields of InvalidUri
0: InvalidUri
The request timed out.
The request’s size (headers + body) exceeded the application’s limit.
The connection was closed while reading the request.
Trait Implementations
Performs the conversion.