Enum forecast_io::Error
[−]
[src]
pub enum Error { Hyper(HyperError), Json(JsonError), Io(IoError), Decode(&'static str, Value), Other(&'static str), }
Variants
Hyper(HyperError)
A hyper
crate error
Json(JsonError)
A serde_json
crate error
Io(IoError)
A std::io
module error
Decode(&'static str, Value)
A json decoding error, with a description and the offending value
Other(&'static str)
A miscellaneous error, with a description
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.