Struct quick_error::Context
source · [−]pub struct Context<X, E>(pub X, pub E);
Expand description
Generic context type
Used mostly as a transport for ResultExt::context
method
Tuple Fields
0: X
1: E
Trait Implementations
Auto Trait Implementations
impl<X, E> RefUnwindSafe for Context<X, E> where
E: RefUnwindSafe,
X: RefUnwindSafe,
impl<X, E> Send for Context<X, E> where
E: Send,
X: Send,
impl<X, E> Sync for Context<X, E> where
E: Sync,
X: Sync,
impl<X, E> Unpin for Context<X, E> where
E: Unpin,
X: Unpin,
impl<X, E> UnwindSafe for Context<X, E> where
E: UnwindSafe,
X: UnwindSafe,
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