Struct error_chain::example_generated::Error [] [src]

pub struct Error(pub ErrorKind, _);

The Error type.

This tuple struct is made of two elements:

Methods

impl Error
[src]

Constructs an error from a kind, and generates a backtrace.

Constructs a chained error from another error and a kind, and generates a backtrace.

Returns the kind of the error.

Iterates over the error chain.

Returns the backtrace associated with this error.

Methods from Deref<Target = ErrorKind>

A string describing the error kind.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl ChainedError for Error
[src]

Associated kind type.

Constructs an error from a kind, and generates a backtrace.

Constructs a chained error from another error and a kind, and generates a backtrace.

Returns the kind of the error.

Iterates over the error chain.

Returns the backtrace associated with this error.

Returns an object which implements Display for printing the full context of this error. Read more

impl Error for Error
[src]

A short description of the error. Read more

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

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[src]

Link to another ErrorChain.

Performs the conversion.

impl From<Error> for Error
[src]

Link to a std::error::Error type.

Performs the conversion.

impl From<ErrorKind> for Error
[src]

Performs the conversion.

impl<'a> From<&'a str> for Error
[src]

Performs the conversion.

impl From<String> for Error
[src]

Performs the conversion.

impl Deref for Error
[src]

The resulting type after dereferencing

The method called to dereference a value