Enum rotor_http::client::ResponseError []

pub enum ResponseError {
    ChunkIsTooLarge(u64usize),
    InvalidChunkSize(InvalidChunkSize),
    Connection(ProtocolError),
}

Error type which is passed to bad_response

This is primarily for better debugging. Could also be used for putting into the logs.

Note, you should not match the enum values and/or make an exhaustive match over the enum. More errors will be added at will.

Variants

Trait Implementations

impl Debug for ResponseError
[src]

Formats the value using the given formatter.

impl Display for ResponseError

Formats the value using the given formatter. Read more

impl Error for ResponseError

A short description of the error. Read more

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

impl From<InvalidChunkSize> for ResponseError

Performs the conversion.

impl From<ProtocolError> for ResponseError

Performs the conversion.