pub struct WaitGroup(_);
Implementations
sourceimpl WaitGroup
impl WaitGroup
pub fn new() -> Self
pub fn working(&self) -> Working
pub fn count(&self) -> usize
pub fn poll_wait(&self, cx: &mut Context<'_>) -> Poll<()>
pub fn wait(&self) -> WaitFuture<'_>ⓘNotable traits for WaitFuture<'_>impl Future for WaitFuture<'_> type Output = ();
pub fn wait_owned(self) -> WaitOwnedFutureⓘNotable traits for WaitOwnedFutureimpl Future for WaitOwnedFuture type Output = ();
Trait Implementations
sourceimpl AsRef<WaitGroup> for WaitOwnedFuture
impl AsRef<WaitGroup> for WaitOwnedFuture
sourceimpl AsRef<WaitGroup> for WaitFuture<'_>
impl AsRef<WaitGroup> for WaitFuture<'_>
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more