pub struct Notify { /* private fields */ }
Expand description
Implements the park / unpark pattern directly using Loom’s internal primitives.
Notification establishes an acquire / release synchronization point.
Using this type is useful to mock out constructs when using loom tests.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Notify
impl Send for Notify
impl Sync for Notify
impl Unpin for Notify
impl UnwindSafe for Notify
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