pub struct CountDownLatch { /* private fields */ }
Expand description
A synchronization aid that allows one or more tasks to wait until a set of operations being performed in other tasks completes.
Implementations§
Trait Implementations§
Source§impl Clone for CountDownLatch
impl Clone for CountDownLatch
Source§fn clone(&self) -> CountDownLatch
fn clone(&self) -> CountDownLatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CountDownLatch
impl !RefUnwindSafe for CountDownLatch
impl Send for CountDownLatch
impl Sync for CountDownLatch
impl Unpin for CountDownLatch
impl !UnwindSafe for CountDownLatch
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