Struct toml::DecodeError [] [src]

pub struct DecodeError {
    pub field: Option<String>,
    pub kind: DecodeErrorKind,
}

Description for errors which can occur while decoding a type.

Fields

field: Option<String>

Field that this error applies to.

kind: DecodeErrorKind

The type of error which occurred while decoding,

Trait Implementations

impl Debug for DecodeError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for DecodeError
[src]

fn eq(&self, __arg_0: &DecodeError) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &DecodeError) -> bool

This method tests for !=.

impl Display for DecodeError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for DecodeError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more