Enum elastic_responses::error::ParseResponseError
[−]
pub enum ParseResponseError { Json(JsonError), Io(IoError), }
An error parsing a response stream.
Variants
Json(JsonError)
The response contains invalid json.
Io(IoError)
The response caused an io error while buffering.
Trait Implementations
impl Debug for ParseResponseError
[src]
impl Display for ParseResponseError
impl Error for ParseResponseError
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<JsonError> for ParseResponseError
fn from(err: JsonError) -> ParseResponseError
Performs the conversion.
impl From<IoError> for ParseResponseError
fn from(err: IoError) -> ParseResponseError
Performs the conversion.