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

Field that this error applies to.

kind

The type of error which occurred while decoding,

Trait Implementations

impl Display for DecodeError

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

impl Error for DecodeError

fn description(&self) -> &str

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

Derived Implementations

impl Debug for DecodeError

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

impl PartialEq for DecodeError

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

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