pub enum ExecCommand {
Queued,
DeQueued,
InProgress,
Paused,
Frozen,
Killed,
Executed,
Interrupted,
Unspecified,
}
Expand description
re-exports Command Operations for execution
§Examples
let foo = ExecCommand::Queued;
assert_eq!(foo, ExecCommand::Queued);
Variants§
Queued
Command Operation added to Queue
DeQueued
Command removed from queue
InProgress
Command in progress
Paused
Command paused
Frozen
Command suspended but not killed
Killed
Command killed and removed from execution stack
Executed
Command has finished execution
Interrupted
The Operation was interrupted and can be resumed
Unspecified
Status of an operation is not initialized
Trait Implementations§
Source§impl Clone for ExecCommand
impl Clone for ExecCommand
Source§fn clone(&self) -> ExecCommand
fn clone(&self) -> ExecCommand
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExecCommand
impl Debug for ExecCommand
Source§impl<'de> Deserialize<'de> for ExecCommand
impl<'de> Deserialize<'de> for ExecCommand
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
Source§impl PartialEq for ExecCommand
impl PartialEq for ExecCommand
Source§impl Serialize for ExecCommand
impl Serialize for ExecCommand
impl Eq for ExecCommand
impl StructuralPartialEq for ExecCommand
Auto Trait Implementations§
impl Freeze for ExecCommand
impl RefUnwindSafe for ExecCommand
impl Send for ExecCommand
impl Sync for ExecCommand
impl Unpin for ExecCommand
impl UnwindSafe for ExecCommand
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