Enum ezomyte::Error [] [src]

pub enum Error {
    UnderMaintenance,
    Server(StatusCode),
    Json(Error),
    Http(Error),
}

Error type emitted by the crate.

Variants

Error for when the API is currently undergoing maintenance.

Error for when the server returns an HTTP error code (not 2xx).

Error parsing the JSON response from the server.

General error from the underlying HTTP client.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl Error for Error
[src]

[src]

A short description of the error. Read more

[src]

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

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error