Enum mio_httpc::Error [−][src]
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, ChunkOverlimit(usize), }
Variants
Io(Error)
Utf8(Utf8Error)
FromUtf8(FromUtf8Error)
Addr(AddrParseError)
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.
Url(ParseError)
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
ChunkOverlimit(usize)
Chunk was larger than configured CallBuilder::chunked_max_chunk.
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<ParseError> for Error
[src]
impl From<ParseError> for Error
fn from(e: ParseError) -> Self
[src]
fn from(e: ParseError) -> Self
Performs the conversion.
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<FromUtf8Error> for Error
[src]
impl From<FromUtf8Error> for Error
fn from(e: FromUtf8Error) -> Self
[src]
fn from(e: FromUtf8Error) -> Self
Performs the conversion.