Struct flex_error::TraceError[][src]

pub struct TraceError<E>(_);
Expand description

An ErrorSource that should implement Error and other constraints such as Send, Sync, 'static, so that it can be traced by error tracing libraries such as eyre and anyhow. Because these libraries take ownership of the source error object, the error cannot be extracted as detail at the same time.

Trait Implementations

The type of the error detail that can be extracted from the error source

The type of the error source.

Extracts the error details out from the error source, together with an optional error trace. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.