Struct task::ScheduleOnDrop
source · pub struct ScheduleOnDrop {}
Expand description
An empty struct that invokes schedule()
when it is dropped.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ScheduleOnDrop
impl Send for ScheduleOnDrop
impl Sync for ScheduleOnDrop
impl Unpin for ScheduleOnDrop
impl UnwindSafe for ScheduleOnDrop
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