Enum mio_httpc::Error [−][src]
pub enum Error {
Show 21 variants
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)
Tuple Fields of Io
0: Error
Utf8(Utf8Error)
Tuple Fields of Utf8
0: Utf8Error
FromUtf8(FromUtf8Error)
Tuple Fields of FromUtf8
Addr(AddrParseError)
Tuple Fields of Addr
Httparse(Error)
Tuple Fields of Httparse
0: Error
WebSocketFail(Response)
Tuple Fields of WebSocketFail
0: Response
Request structure did not contain body and CallSimple was used for POST/PUT.
Response over max_response limit
Connection closed.
No host found in request
Invalid scheme
All 0xFFFF slots for connections are full.
Url(ParseError)
Tuple Fields of Url
0: ParseError
Other(&'static str)
Tuple Fields of Other
0: &'static str
You must pick one of the features: native, rustls, openssl
Eror while parsing chunked stream
Eror while parsing chunked stream
Eror while parsing chunked stream
ChunkOverlimit(usize)
Chunk was larger than configured CallBuilder::chunked_max_chunk.
Tuple Fields of ChunkOverlimit
0: usize
Trait Implementations
Performs the conversion.
Performs the conversion.