Struct trace_error::Trace [] [src]

pub struct Trace<E: Error> { /* fields omitted */ }

Trace error that encapsulates a backtrace alongside an error value.

Trace itself does not implement Error, so they cannot be nested.

Methods

impl<E: Error> Trace<E>
[src]

Creates a new Trace from the given error and backtrace

Consume self and return the inner error value

Get a reference to the inner backtrace

Format the error and backtrace

Convert the inner error of type E into type O

Trait Implementations

impl<E: Debug + Error> Debug for Trace<E>
[src]

Formats the value using the given formatter.

impl<E: Error> Send for Trace<E> where E: Send
[src]

impl<E: Error> Deref for Trace<E>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<E: Error> Display for Trace<E>
[src]

Formats the value using the given formatter.