pub struct CountDownLatch { /* private fields */ }Expand description
A CountDownLatch is used to wait for a given number of tasks to be completed which may be running in multiple threads
Implementations§
Auto 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