pub struct CollectiveWork<T, E = WorkError> { /* private fields */ }Expand description
Asynchronous collective completion handle. Dropping it detaches the host worker but does not cancel or reorder an already submitted collective.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, E = WorkError> !RefUnwindSafe for CollectiveWork<T, E>
impl<T, E = WorkError> !UnwindSafe for CollectiveWork<T, E>
impl<T, E> Freeze for CollectiveWork<T, E>
impl<T, E> Send for CollectiveWork<T, E>
impl<T, E> Sync for CollectiveWork<T, E>
impl<T, E> Unpin for CollectiveWork<T, E>
impl<T, E> UnsafeUnpin for CollectiveWork<T, E>where
Arc<WorkCompletion<T, E>>: UnsafeUnpin,
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