pub struct Work { /* private fields */ }Expand description
Represents a work or task.
When dropped, it decrements the task counter. See TaskGroup::add_work
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Work
impl !RefUnwindSafe for Work
impl Send for Work
impl Sync for Work
impl Unpin for Work
impl !UnwindSafe for Work
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