Enum json_request::Error
[−]
[src]
pub enum Error { HttpClient(Error), JsonEncoder(EncoderError), JsonDecoder(DecoderError), IoError(Error), }
Error wrapper
Variants
HttpClient(Error)
Error in HTTP library
JsonEncoder(EncoderError)
Error encoding JSON object for request
JsonDecoder(DecoderError)
Error decoding JSON object from response
IoError(Error)
Error reading body from hyper response
Trait Implementations
impl Debug for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<EncoderError> for Error
[src]
fn from(err: EncoderError) -> Error
Performs the conversion.
impl From<DecoderError> for Error
[src]
fn from(err: DecoderError) -> Error
Performs the conversion.
impl Error for Error
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
fn description(&self) -> &str
A short description of the error. Read more