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
type Source = E
type Source = E
The type of the error source.
Auto Trait Implementations
impl<E> RefUnwindSafe for TraceError<E> where
E: RefUnwindSafe,
impl<E> Send for TraceError<E> where
E: Send,
impl<E> Sync for TraceError<E> where
E: Sync,
impl<E> Unpin for TraceError<E> where
E: Unpin,
impl<E> UnwindSafe for TraceError<E> where
E: UnwindSafe,