pub struct WaitGroup {
pub total: Arc<AtomicU64>,
pub recv: Arc<Receiver<u64>>,
pub send: Arc<Sender<u64>>,
}
Fields
total: Arc<AtomicU64>
recv: Arc<Receiver<u64>>
send: Arc<Sender<u64>>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WaitGroup
impl Send for WaitGroup
impl Sync for WaitGroup
impl Unpin for WaitGroup
impl UnwindSafe for WaitGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more