Enum slr_config::ErrorKind [] [src]

pub enum ErrorKind {
    ParseFailure,
    InvalidRepr,
    UnknownField,
    Custom(i32),
}

An enum describing the kind of the error, to allow treating different errors differenly.

Variants

A parse error has occured. This error is not recoverable.

An object could not be parsed from its ConfigElement representation. This error is recoverable, but the value the the object is in an unspecified state.

While parsing a struct from a table, an unknown field was found. This error is recoverable, and the struct is unaffected.

A custom error available to 3rd party implementors. The semantics are defined by the 3rd party.

Trait Implementations

impl Copy for ErrorKind
[src]

impl PartialEq<ErrorKind> for ErrorKind
[src]

impl Debug for ErrorKind
[src]

impl Clone for ErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more