Enum urbandictionary::Error [] [src]

pub enum Error {
    Hyper(HyperError),
    Json(JsonError),
    Io(IoError),
}

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

Variants

A hyper crate error

A serde_json crate error

A std::io module error

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<IoError> for Error
[src]

Performs the conversion.

impl From<HyperError> for Error
[src]

Performs the conversion.

impl From<JsonError> 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]

A short description of the error. Read more

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