Enum simple_server::Error
[−]
[src]
pub enum Error { Io(Error), Http(Error), HttpParse(Error), InvalidUri(InvalidUri), }
Various errors that may happen while handling requests.
Variants
Io(Error)
An error while doing I/O.
Http(Error)
An HTTP error.
HttpParse(Error)
An error while parsing the HTTP request.
InvalidUri(InvalidUri)
An error while parsing the URI of the request.
Trait Implementations
impl Debug for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<InvalidUri> for Error
[src]
fn from(err: InvalidUri) -> Error
[src]
Performs the conversion.