Enum elastic::error::ParseResponseError []

pub enum ParseResponseError {
    Json(Error),
    Io(Error),
}

An error parsing a response stream.

Variants

The response contains invalid json.

The response caused an io error while buffering.

Trait Implementations

impl Display for ParseResponseError

Formats the value using the given formatter. Read more

impl From<Error> for ParseResponseError

Performs the conversion.

impl From<Error> for ParseResponseError

Performs the conversion.

impl Error for ParseResponseError

A short description of the error. Read more

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

impl Debug for ParseResponseError

Formats the value using the given formatter.