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

An error while doing I/O.

An HTTP error.

An error while parsing the HTTP request.

An error while parsing the URI of the request.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<InvalidUri> for Error
[src]

[src]

Performs the conversion.