Enum yahoo_weather::error::Error [−]
pub enum Error { Io(Error), Curl(Error), Json(Error), Chrono(ParseError), ParseInt(ParseIntError), ParseFloat(ParseFloatError), NoData, Other(&'static str), }
Variants
Io(Error)
Curl(Error)
Json(Error)
Chrono(ParseError)
ParseInt(ParseIntError)
ParseFloat(ParseFloatError)
NoData
Other(&'static str)
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Error
impl Display for Error
impl Error for Error
impl Error for Error
fn description(&self) -> &str
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for Error
impl From<Error> for Error
impl From<Error> for Error
impl From<Error> for Error
impl From<Error> for Error
impl From<Error> for Error
impl From<ParseError> for Error
impl From<ParseError> for Error
fn from(err: ParseError) -> Error
fn from(err: ParseError) -> Error
Performs the conversion.
impl From<ParseIntError> for Error
impl From<ParseIntError> for Error
fn from(err: ParseIntError) -> Error
fn from(err: ParseIntError) -> Error
Performs the conversion.
impl From<ParseFloatError> for Error
impl From<ParseFloatError> for Error
fn from(err: ParseFloatError) -> Error
fn from(err: ParseFloatError) -> Error
Performs the conversion.