struct Context {
shared: Arc<Shared>,
unhandled_panic: Cell<bool>,
}
Expand description
State available from the thread-local.
Fields§
State shared between threads.
unhandled_panic: Cell<bool>
True if a task panicked without being handled and the local set is configured to shutdown on unhandled panic.
Implementations§
Auto Trait Implementations§
impl !Freeze for Context
impl !RefUnwindSafe for Context
impl Send for Context
impl !Sync for Context
impl Unpin for Context
impl !UnwindSafe for Context
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