#[non_exhaustive]pub enum ExecutionControl {
Break,
Resume,
StepOver,
StepInto,
StepOut,
Terminate,
Abort,
}Expand description
What to do to a running execution.
Named for what the engine calls each operation, so somebody reading the vendor documentation finds the verb they already know.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Break
Stop at the next step and wait. The run keeps its place.
Resume
Carry on from a break. This is also what releases a breakpoint stop.
StepOver
Run the next step, then stop again without descending into it.
StepInto
Stop at the first step inside whatever the next step calls.
StepOut
Carry on until the current sequence returns, then stop.
Terminate
Stop the run, letting cleanup run so hardware is left safe.
Abort
Stop the run without cleanup.
Blunter than Terminate and rarely what a host
wants: anything a sequence would have switched off stays on.
Trait Implementations§
Source§impl Clone for ExecutionControl
impl Clone for ExecutionControl
Source§fn clone(&self) -> ExecutionControl
fn clone(&self) -> ExecutionControl
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 moreimpl Copy for ExecutionControl
Source§impl Debug for ExecutionControl
impl Debug for ExecutionControl
Source§impl<'de> Deserialize<'de> for ExecutionControl
impl<'de> Deserialize<'de> for ExecutionControl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExecutionControl
Source§impl PartialEq for ExecutionControl
impl PartialEq for ExecutionControl
Source§impl Serialize for ExecutionControl
impl Serialize for ExecutionControl
impl StructuralPartialEq for ExecutionControl
Auto Trait Implementations§
impl Freeze for ExecutionControl
impl RefUnwindSafe for ExecutionControl
impl Send for ExecutionControl
impl Sync for ExecutionControl
impl Unpin for ExecutionControl
impl UnsafeUnpin for ExecutionControl
impl UnwindSafe for ExecutionControl
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