Struct flex_error::TraceOnly [−][src]
pub struct TraceOnly<Tracer>(_);
Expand description
An ErrorSource
that contains only the error trace with no detail.
This can for example be used for upstream functions that return tracers like
eyre::Report
directly.
Note that the Tracer
type must be the same as the tracer type defined in
ErrorReport
, and most likely it should also be the same as
DefaultTracer
.
If you plan to use flex-error
with different feature flags, you should
classify the source as StdError
instead.
Trait Implementations
impl<Trace> ErrorSource<Trace> for TraceOnly<Trace>
[src]
impl<Trace> ErrorSource<Trace> for TraceOnly<Trace>
[src]type Source = Trace
type Source = Trace
The type of the error source.
Auto Trait Implementations
impl<Tracer> RefUnwindSafe for TraceOnly<Tracer> where
Tracer: RefUnwindSafe,
Tracer: RefUnwindSafe,
impl<Tracer> Send for TraceOnly<Tracer> where
Tracer: Send,
Tracer: Send,
impl<Tracer> Sync for TraceOnly<Tracer> where
Tracer: Sync,
Tracer: Sync,
impl<Tracer> Unpin for TraceOnly<Tracer> where
Tracer: Unpin,
Tracer: Unpin,
impl<Tracer> UnwindSafe for TraceOnly<Tracer> where
Tracer: UnwindSafe,
Tracer: UnwindSafe,