Enum evzht9h3nznqzwl::codec::http::HttpCodecError
[−]
[src]
pub enum HttpCodecError { Io(Error), Http(Error), }
Any error that can happen during the writing or parsing of HTTP requests
and responses. This consists of HTTP parsing errors (the Http
variant) and
errors that can occur when writing to IO (the Io
variant).
Variants
Io(Error)
An error that occurs during the writing or reading of HTTP data from a socket.
Http(Error)
An error that occurs during the parsing of an HTTP request or response.
Trait Implementations
impl Debug for HttpCodecError
[src]
impl Display for HttpCodecError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Error for HttpCodecError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<Error> for HttpCodecError
[src]
fn from(err: Error) -> HttpCodecError
[src]
Performs the conversion.
impl From<Error> for HttpCodecError
[src]
fn from(err: Error) -> HttpCodecError
[src]
Performs the conversion.