Enum urbandictionary::Error[][src]

pub enum Error {
    Json(JsonError),
    Io(IoError),
    Reqwest(ReqwestError),
}

Common error type used throughout the library, to be used as a holder for errors from various other libraries.

Variants

A serde_json crate error.

A std::io module error.

An error from the reqwest crate.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl From<IoError> for Error
[src]

Performs the conversion.

impl From<JsonError> for Error
[src]

Performs the conversion.

impl From<ReqwestError> for Error
[src]

Performs the conversion.

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

Auto Trait Implementations

impl Send for Error

impl Sync for Error