Enum json_request::Error [] [src]

pub enum Error {
    HttpClient(Error),
    JsonEncoder(EncoderError),
    JsonDecoder(DecoderError),
    IoError(Error),
}

Error wrapper

Variants

Error in HTTP library

Error encoding JSON object for request

Error decoding JSON object from response

Error reading body from hyper response

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<EncoderError> for Error
[src]

Performs the conversion.

impl From<DecoderError> for Error
[src]

Performs the conversion.

impl Error for Error
[src]

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

A short description of the error. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more