Enum scgi::ScgiError
[−]
[src]
pub enum ScgiError { BadLength, Utf8(Utf8Error), WrongLength(String), WrongHeaders, EOF, IO(Error), }
SCGI parsing errors.
Variants
BadLength
Length can't be decoded to an integer.
Utf8(Utf8Error)
The length or the headers are not in UTF-8.
WrongLength(String)
Netstring sanity checks fail.
WrongHeaders
Error parsing the zero-terminated HTTP headers.
EOF
No more data. The socket has been closed prematurely.
IO(Error)
IoError, like when connection closed prematurely.
Trait Implementations
impl Debug for ScgiError
[src]
impl From<Error> for ScgiError
[src]
impl From<Utf8Error> for ScgiError
[src]
impl Display for ScgiError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more