pub struct IdleTask(/* private fields */);Expand description
A V8 idle task. Similar to Task but accepts a deadline parameter
when run.
If dropped without calling run(), the task is destroyed without
executing.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IdleTask
impl RefUnwindSafe for IdleTask
impl !Sync for IdleTask
impl Unpin for IdleTask
impl UnsafeUnpin for IdleTask
impl UnwindSafe for IdleTask
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