pub struct HazardCell { /* private fields */ }Expand description
One hazard’s observer state. Baked as a static beside the spec, the way
PubMonitorCell is, so the observer adds a slice to the Executor
value and nothing per hazard (issue 0961).
Implementations§
Source§impl HazardCell
impl HazardCell
Sourcepub const fn new() -> HazardCell
pub const fn new() -> HazardCell
A cleared cell, for a static.
Trait Implementations§
Source§impl Debug for HazardCell
impl Debug for HazardCell
Source§impl Default for HazardCell
impl Default for HazardCell
Source§fn default() -> HazardCell
fn default() -> HazardCell
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for HazardCell
impl RefUnwindSafe for HazardCell
impl Send for HazardCell
impl Sync for HazardCell
impl Unpin for HazardCell
impl UnsafeUnpin for HazardCell
impl UnwindSafe for HazardCell
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