[][src]Enum websocket::codec::http::HttpCodecError

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 From<HttpCodecError> for WebSocketError[src]

impl From<Error> for HttpCodecError[src]

impl From<Error> for HttpCodecError[src]

impl From<HttpCodecError> for HyperIntoWsError[src]

impl Display for HttpCodecError[src]

impl Debug for HttpCodecError[src]

impl Error for HttpCodecError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> Erased for T