Enum fapt_pkg::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Io(Error), GpgMe(Error), Reqwest(Error), ReqwestUrl(UrlError), ParseHexError(FromHexError), ParseIntError(ParseIntError), ParseSystemTimeError(SystemTimeError), ParseUtf8Error(FromUtf8Error), Serde(Error), // some variants omitted }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Io(Error)
GpgMe(Error)
Reqwest(Error)
ReqwestUrl(UrlError)
ParseHexError(FromHexError)
ParseIntError(ParseIntError)
ParseSystemTimeError(SystemTimeError)
ParseUtf8Error(FromUtf8Error)
Serde(Error)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.