Enum beerxml::error::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Xml(ErrorKind), Io(Error), Utf8(Utf8Error), ParseFloat(ParseFloatError), Json(Error), Yaml(Error), TomlSer(Error), TomlDe(Error), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Xml(ErrorKind)
Io(Error)
Utf8(Utf8Error)
ParseFloat(ParseFloatError)
Json(Error)
Yaml(Error)
TomlSer(Error)
TomlDe(Error)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
impl Debug for ErrorKind
impl Display for ErrorKind
impl From<ErrorKind> for ErrorKind
fn from(e: ErrorKind) -> Self
Performs the conversion.