pub struct DisplayError<E>(/* private fields */);Expand description
An ErrorSource that implements Display and
can be traced by error tracers implementing ErrorMessageTracer.
Both its Source and Detail types are E. When extraced, it also provides
an error trace that is traced from its string representation.
Trait Implementations§
Source§impl<E, Tracer> ErrorSource<Tracer> for DisplayError<E>where
E: Display,
Tracer: ErrorMessageTracer,
impl<E, Tracer> ErrorSource<Tracer> for DisplayError<E>where
E: Display,
Tracer: ErrorMessageTracer,
Auto Trait Implementations§
impl<E> Freeze for DisplayError<E>
impl<E> RefUnwindSafe for DisplayError<E>where
E: RefUnwindSafe,
impl<E> Send for DisplayError<E>where
E: Send,
impl<E> Sync for DisplayError<E>where
E: Sync,
impl<E> Unpin for DisplayError<E>where
E: Unpin,
impl<E> UnwindSafe for DisplayError<E>where
E: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more