pub struct Capture<E> { /* private fields */ }Expand description
Capture an error of the specified type E.
See DefaultContext::with_capture for more information.
Trait Implementations§
impl<E, A> ErrorMode<A> for Capture<E>where
E: ContextError<A>,
Auto Trait Implementations§
impl<E> !Freeze for Capture<E>
impl<E> !RefUnwindSafe for Capture<E>
impl<E> Send for Capture<E>where
E: Send,
impl<E> !Sync for Capture<E>
impl<E> Unpin for Capture<E>where
E: Unpin,
impl<E> UnwindSafe for Capture<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