Enum async_scgi::ScgiReadError [−][src]
pub enum ScgiReadError {
BadLength,
Utf8(Utf8Error),
BadNetstring,
BadHeaders(ScgiHeaderParseError),
IO(Error),
}
Expand description
An error that occurred while reading an SCGI request.
Variants
Length can’t be decoded to an integer.
Utf8(Utf8Error)
The length or the headers are not in UTF-8.
Tuple Fields of Utf8
0: Utf8Error
Netstring sanity checks fail.
BadHeaders(ScgiHeaderParseError)
Error parsing SCGI headers.
Tuple Fields of BadHeaders
IO(Error)
IO Error.
Tuple Fields of IO
0: Error
Trait Implementations
Performs the conversion.