pub struct ReportHelper<'e>(/* private fields */);
Expand description
Helper type for reporting errors that are concrete implementors of StdError
This is an opaque type, only constructable via the ErrorExt
helper trait
and only usable via its AsRef
implementation.
Trait Implementations§
Auto Trait Implementations§
impl<'e> Freeze for ReportHelper<'e>
impl<'e> !RefUnwindSafe for ReportHelper<'e>
impl<'e> !Send for ReportHelper<'e>
impl<'e> !Sync for ReportHelper<'e>
impl<'e> Unpin for ReportHelper<'e>
impl<'e> !UnwindSafe for ReportHelper<'e>
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