pub struct Barrier { /* private fields */ }
Expand description
A Barrier
can listen for 1 or more Signals
. It will only transition
to a Pulsed
state once all the Signals
have Pulsed
.
Implementations§
Trait Implementations§
Source§impl Signals for Barrier
impl Signals for Barrier
Auto Trait Implementations§
impl Freeze for Barrier
impl RefUnwindSafe for Barrier
impl Send for Barrier
impl Sync for Barrier
impl Unpin for Barrier
impl UnwindSafe for Barrier
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