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>where E: AsRef<dyn StdError> + Copy,
Auto Trait Implementations§
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