pub struct Report<E>(pub E)
where
E: AsRef<dyn StdError>;
Expand description
Wraps any Error, providing a nicely-reporting Display impl
Tuple Fields§
§0: E
Trait Implementations§
impl<E> Copy for Report<E>
Auto Trait Implementations§
impl<E> Freeze for Report<E>where
E: Freeze,
impl<E> RefUnwindSafe for Report<E>where
E: RefUnwindSafe,
impl<E> Send for Report<E>where
E: Send,
impl<E> Sync for Report<E>where
E: Sync,
impl<E> Unpin for Report<E>where
E: Unpin,
impl<E> UnwindSafe for Report<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