Enum wanikani::Error
[−]
[src]
pub enum Error { JSONError(JSONError), RetrievalError(ReqwestError), URLParseError(ReqwestUrlError), }
Variants
JSONError(JSONError)
RetrievalError(ReqwestError)
URLParseError(ReqwestUrlError)
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<JSONError> for Error
[src]
impl From<ReqwestError> for Error
[src]
fn from(error: ReqwestError) -> Self
[src]
Performs the conversion.
impl From<ReqwestUrlError> for Error
[src]
fn from(error: ReqwestUrlError) -> Self
[src]
Performs the conversion.