pub struct InterruptCtrl { /* private fields */ }Expand description
Per-run interrupt control passed to a step. A step calls
ctrl.interrupt(payload) to pause; on resume the runner returns
the value from Command::Resume(...).
Implementations§
Trait Implementations§
Source§impl Clone for InterruptCtrl
impl Clone for InterruptCtrl
Source§fn clone(&self) -> InterruptCtrl
fn clone(&self) -> InterruptCtrl
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 Freeze for InterruptCtrl
impl !RefUnwindSafe for InterruptCtrl
impl Send for InterruptCtrl
impl Sync for InterruptCtrl
impl Unpin for InterruptCtrl
impl UnsafeUnpin for InterruptCtrl
impl !UnwindSafe for InterruptCtrl
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