Enum elastic_responses::error::ResponseError []

pub enum ResponseError {
    Api(ApiError),
    Parse(ParseResponseError),
}

An error parsing a REST API response to a success value.

Variants

A REST API error from Elasticsearch.

An error parsing a response body.

Trait Implementations

impl Debug for ResponseError
[src]

[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<ApiError> for ResponseError

Performs the conversion.

impl From<ParseResponseError> for ResponseError

Performs the conversion.