pub struct PoisonPill;
Expand description
PoisonPill is used to cause the process to abort if there are any panics in any thread. This may lead to a resource leak, but also allows us to better handle bugs in threads. TODO: Remove after squashing bugs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PoisonPill
impl RefUnwindSafe for PoisonPill
impl Send for PoisonPill
impl Sync for PoisonPill
impl Unpin for PoisonPill
impl UnwindSafe for PoisonPill
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