Struct tor_error::report::ReportHelper
source · [−]pub struct ReportHelper<'e>(&'e (dyn StdError + 'static));
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.
Tuple Fields
0: &'e (dyn StdError + 'static)
Trait Implementations
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more