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
type Source = Trace
type Source = Trace
The type of the error source.
Auto Trait Implementations
impl<Tracer> RefUnwindSafe for TraceOnly<Tracer> where
Tracer: RefUnwindSafe,
impl<Tracer> UnwindSafe for TraceOnly<Tracer> where
Tracer: UnwindSafe,