Enum elastic_reqwest::Error []

pub enum Error {
    Http(ReqwestError),
    Response(ResponseError),
    // some variants omitted
}

An error sending a request or parsing a response.

Variants

A http error.

A response error.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

A short description of the error. Read more

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

impl From<ReqwestError> for Error

Performs the conversion.

impl From<ResponseError> for Error

Performs the conversion.