Enum elastic_reqwest::Error
[−]
pub enum Error { Http(ReqwestError), Response(ResponseError), // some variants omitted }
An error sending a request or parsing a response.
Variants
Http(ReqwestError)
A http error.
Response(ResponseError)
A response error.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
impl Error for Error
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<ReqwestError> for Error
fn from(err: ReqwestError) -> Error
Performs the conversion.
impl From<ResponseError> for Error
fn from(err: ResponseError) -> Error
Performs the conversion.