pub struct RunnerCanceller(/* private fields */);
Expand description
An object that can cancel a pending call into VpRunner::run
.
Implementations§
Source§impl RunnerCanceller
impl RunnerCanceller
Sourcepub fn cancel(&mut self)
pub fn cancel(&mut self)
Requests that the current or next call to VpRunner::run
return as
soon as possible.
Auto Trait Implementations§
impl Freeze for RunnerCanceller
impl !RefUnwindSafe for RunnerCanceller
impl Send for RunnerCanceller
impl Sync for RunnerCanceller
impl Unpin for RunnerCanceller
impl !UnwindSafe for RunnerCanceller
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