[][src]Enum mio_httpc::Error

pub enum Error {
    Io(Error),
    Utf8(Utf8Error),
    FromUtf8(FromUtf8Error),
    Addr(AddrParseError),
    Httparse(Error),
    WebSocketFail(Response),
    TimeOut,
    MissingBody,
    ResponseTooBig,
    Closed,
    NoHost,
    InvalidScheme,
    NoSpace,
    Url(ParseError),
    Other(&'static str),
    NoTls,
    ChunkedParse,
    WebSocketParse,
    AuthenticateParse,
    InvalidPin,
    ChunkOverlimit(usize),
}

Variants

Io(Error)
Utf8(Utf8Error)
FromUtf8(FromUtf8Error)
Httparse(Error)
WebSocketFail(Response)
TimeOut
MissingBody

Request structure did not contain body and CallSimple was used for POST/PUT.

ResponseTooBig

Response over max_response limit

Closed

Connection closed.

NoHost

No host found in request

InvalidScheme

Invalid scheme

NoSpace

All 0xFFFF slots for connections are full.

Other(&'static str)
NoTls

You must pick one of the features: native, rustls, openssl

ChunkedParse

Eror while parsing chunked stream

WebSocketParse

Eror while parsing chunked stream

AuthenticateParse

Eror while parsing chunked stream

InvalidPin
ChunkOverlimit(usize)

Chunk was larger than configured CallBuilder::chunked_max_chunk.

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Fail for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<FromUtf8Error> for Error[src]

impl From<ParseError> for Error[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsFail for T where
    T: Fail
[src]

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

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

impl<T> From<T> for T[src]

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

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,