Enum scgi::ScgiError [] [src]

pub enum ScgiError {
    BadLength,
    Utf8(Utf8Error),
    WrongLength(String),
    WrongHeaders,
    EOF,
    IO(Error),
}

SCGI parsing errors.

Variants

Length can't be decoded to an integer.

The length or the headers are not in UTF-8.

Netstring sanity checks fail.

Error parsing the zero-terminated HTTP headers.

No more data. The socket has been closed prematurely.

IoError, like when connection closed prematurely.

Trait Implementations

impl Debug for ScgiError
[src]

Formats the value using the given formatter.

impl From<Error> for ScgiError
[src]

Performs the conversion.

impl From<Utf8Error> for ScgiError
[src]

Performs the conversion.

impl Display for ScgiError
[src]

Formats the value using the given formatter. Read more

impl Error for ScgiError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more