pub struct MaintenanceTask { /* private fields */ }Expand description
A shared maintenance handle. Dropping the last handle cancels its tasks;
Self::shutdown cancels and joins tasks for every handle in this group.
Implementations§
Trait Implementations§
Source§impl Clone for MaintenanceTask
impl Clone for MaintenanceTask
Source§fn clone(&self) -> MaintenanceTask
fn clone(&self) -> MaintenanceTask
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for MaintenanceTask
impl !UnwindSafe for MaintenanceTask
impl Freeze for MaintenanceTask
impl Send for MaintenanceTask
impl Sync for MaintenanceTask
impl Unpin for MaintenanceTask
impl UnsafeUnpin for MaintenanceTask
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