Enum websocket::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

An error that occurs during the writing or reading of HTTP data from a socket.

An error that occurs during the parsing of an HTTP request or response.

Trait Implementations

impl From<HttpCodecError> for WebSocketError
[src]

[src]

Performs the conversion.

impl Debug for HttpCodecError
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for HttpCodecError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for HttpCodecError
[src]

[src]

A short description of the error. Read more

[src]

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

impl From<Error> for HttpCodecError
[src]

[src]

Performs the conversion.

impl From<Error> for HttpCodecError
[src]

[src]

Performs the conversion.

impl From<HttpCodecError> for HyperIntoWsError
[src]

[src]

Performs the conversion.

Auto Trait Implementations