Enum mini_http::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Io(Error), Utf8(Utf8Error), AddrParse(AddrParseError), Http(Error), MalformedHttpRequest(String), IncompleteHttpRequest(String), RequestHeadersTooLarge(String), RequestBodyTooLarge(String), // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Io(Error)
Utf8(Utf8Error)
AddrParse(AddrParseError)
Http(Error)
MalformedHttpRequest(String)
IncompleteHttpRequest(String)
RequestHeadersTooLarge(String)
RequestBodyTooLarge(String)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.