Enum rs_es::error::EsError [] [src]

pub enum EsError {
    EsError(String),
    EsServerError(String),
    HttpError(Error),
    IoError(Error),
    JsonError(Error),
}

Error that can occur include IO and parsing errors, as well as specific errors from the ElasticSearch server and logic errors from this library

Variants

An internal error from this library

An error reported in a JSON response from the ElasticSearch server

Miscellaneous error from the HTTP library

Miscellaneous IO error

JSON error

Trait Implementations

impl Debug for EsError
[src]

Formats the value using the given formatter.

impl From<Error> for EsError
[src]

Performs the conversion.

impl From<Error> for EsError
[src]

Performs the conversion.

impl From<Error> for EsError
[src]

Performs the conversion.

impl<'a> From<&'a mut Response> for EsError
[src]

Performs the conversion.

impl Error for EsError
[src]

A short description of the error. Read more

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

impl Display for EsError
[src]

Formats the value using the given formatter.