pub struct WithSources<E>(pub E);Expand description
A wrapper which prints a snafu::ErrorCompat, plus its backtraces if they
exist.
Tuple Fields§
§0: ETrait Implementations§
Source§impl<E: Debug> Debug for WithSources<E>
impl<E: Debug> Debug for WithSources<E>
Auto Trait Implementations§
impl<E> Freeze for WithSources<E>where
E: Freeze,
impl<E> RefUnwindSafe for WithSources<E>where
E: RefUnwindSafe,
impl<E> Send for WithSources<E>where
E: Send,
impl<E> Sync for WithSources<E>where
E: Sync,
impl<E> Unpin for WithSources<E>where
E: Unpin,
impl<E> UnwindSafe for WithSources<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