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(StringString),
}

The kind of an error.

Variants

A convenient variant for String.

XML error

IO error

Json Error

Parse Float Error

Parse Int Error

Parse String Error

Parse String Error

Toml Deserialization Error

Toml Serialization Error

Utf8 Error

Yaml Error

Parsing Error

Methods

impl ErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for ErrorKind

Formats the value using the given formatter.

impl Display for ErrorKind

Formats the value using the given formatter. Read more

impl From<ErrorKind> for ErrorKind

XML error

Performs the conversion.

impl<'a> From<&'a str> for ErrorKind

Performs the conversion.

impl From<String> for ErrorKind

Performs the conversion.

impl From<Error> for ErrorKind

Performs the conversion.