Enum aur::Error[][src]

pub enum Error {
    Fmt(FmtError),
    Json(JsonError),
    Http(HttpError),
    Hyper(HyperError),
    Uri(InvalidUri),
}

Enum encompassing the library's possible returned errors.

Variants

An error that occurred while formatting a string.

An error from the serde_json crate while deserializing the body of an HTTP response.

An error from the http crate.

An error from the hyper crate while performing an HTTP request.

An error when building a request's URI from the http crate.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

This method is soft-deprecated. Read more

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

impl From<FmtError> for Error
[src]

Performs the conversion.

impl From<JsonError> for Error
[src]

Performs the conversion.

impl From<HttpError> for Error
[src]

Performs the conversion.

impl From<HyperError> for Error
[src]

Performs the conversion.

impl From<InvalidUri> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error