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
Hyper(HyperError)
A hyper
crate error
Json(JsonError)
A serde_json
crate error
Io(IoError)
A std::io
module error
Trait Implementations
impl Debug for Error
[src]
impl From<IoError> for Error
[src]
impl From<HyperError> for Error
[src]
fn from(err: HyperError) -> Error
Performs the conversion.
impl From<JsonError> for Error
[src]
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> FmtResult
Formats the value using the given formatter. Read more