#[non_exhaustive]pub enum ControlAction {
Cancel,
Retry,
Resume,
Interrupt,
Drop,
Reload,
}Expand description
What an operator asks of a Mission or of its live Run.
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.
Cancel
Stop the live Run, if any, and abandon the Mission; its safe house is finished with the work kept.
Retry
Queue a stalled or finished Mission again as a new run, optionally for another qualified Agent.
Resume
Resume a parked, blocked or stalled Mission now, optionally with a message.
Interrupt
Stop the Run’s current turn; the Mission stays, blocked, until resumed.
Drop
End an entry in the Station’s own queue: a Mission that waits to start, or to be resumed, is failed or abandoned there with a reason, whoever holds its claim.
Reload
Clear an entry’s retry wait and check it against the Registry now.
Implementations§
Trait Implementations§
Source§impl Clone for ControlAction
impl Clone for ControlAction
impl Copy for ControlAction
Source§impl Debug for ControlAction
impl Debug for ControlAction
impl Eq for ControlAction
Source§impl Hash for ControlAction
impl Hash for ControlAction
Source§impl Ord for ControlAction
impl Ord for ControlAction
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ControlAction
impl PartialEq for ControlAction
Source§impl PartialOrd for ControlAction
impl PartialOrd for ControlAction
impl StructuralPartialEq for ControlAction
Auto Trait Implementations§
impl Freeze for ControlAction
impl RefUnwindSafe for ControlAction
impl Send for ControlAction
impl Sync for ControlAction
impl Unpin for ControlAction
impl UnsafeUnpin for ControlAction
impl UnwindSafe for ControlAction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.