Enum beerxml::error::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Xml(ErrorKind), Io(Error), Json(Error), ParseFloat(ParseFloatError), ParseInt(ParseIntError), ParseString(ParseError), Strum(ParseError), TomlDe(Error), TomlSer(Error), Utf8(Utf8Error), Yaml(Error), ParseError(String, String), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Xml(ErrorKind)
XML error
Io(Error)
IO error
Json(Error)
Json Error
ParseFloat(ParseFloatError)
Parse Float Error
ParseInt(ParseIntError)
Parse Int Error
ParseString(ParseError)
Parse String Error
Strum(ParseError)
Parse String Error
TomlDe(Error)
Toml Deserialization Error
TomlSer(Error)
Toml Serialization Error
Utf8(Utf8Error)
Utf8 Error
Yaml(Error)
Yaml Error
ParseError(String, String)
Parsing 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
XML error