Struct flex_error::DetailOnly [−][src]
pub struct DetailOnly<Detail>(_);
Expand description
An ErrorSource
that only provides error details but do not provide any trace.
This can typically comes from primitive error types that do not implement
Error
. The Detail
type is the error and the returned
trace is None
.
It is also possible to omit specifying the error as an error source, and instead
place it as a field in the error variant. However specifying it as a DetailOnly
source may give stronger hint to the reader that the particular error variant
is caused by other underlying errors.
Trait Implementations
Auto Trait Implementations
impl<Detail> RefUnwindSafe for DetailOnly<Detail> where
Detail: RefUnwindSafe,
impl<Detail> Send for DetailOnly<Detail> where
Detail: Send,
impl<Detail> Sync for DetailOnly<Detail> where
Detail: Sync,
impl<Detail> Unpin for DetailOnly<Detail> where
Detail: Unpin,
impl<Detail> UnwindSafe for DetailOnly<Detail> where
Detail: UnwindSafe,