Enum elastic_responses::error::ParseResponseError []

pub enum ParseResponseError {
    Json(JsonError),
    Io(IoError),
}

An error parsing a response stream.

Variants

The response contains invalid json.

The response caused an io error while buffering.

Trait Implementations

impl Debug for ParseResponseError
[src]

[src]

Formats the value using the given formatter.

impl Display for ParseResponseError

Formats the value using the given formatter. Read more

impl Error for ParseResponseError

A short description of the error. Read more

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

impl From<JsonError> for ParseResponseError

Performs the conversion.

impl From<IoError> for ParseResponseError

Performs the conversion.