Struct mpack::TypeError [] [src]

pub struct TypeError {
    // some fields omitted
}

Methods

impl TypeError
[src]

fn value(self) -> Value

Retrieve the value that caused the type error.

Trait Implementations

impl Debug for TypeError
[src]

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

Formats the value using the given formatter.

impl Error for TypeError
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

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

impl Display for TypeError
[src]

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

Formats the value using the given formatter.