pub enum CommandStatus {
Queued,
Running,
Succeeded,
Failed,
Interrupted,
Unknown,
}Expand description
Lifecycle outcome of one tracked command.
§Examples
use ailloli_ui_terminal_core::CommandStatus;
assert_eq!(CommandStatus::default(), CommandStatus::Unknown);Variants§
Queued
Known but not yet started; not emitted by current helpers.
Running
Currently executing.
Succeeded
Finished with exit code zero and no signal.
Failed
Finished with a nonzero exit code and no signal.
Interrupted
Finished with a signal value, regardless of exit code.
Unknown
Outcome unavailable, including a finish with no code/signal.
Trait Implementations§
Source§impl Clone for CommandStatus
impl Clone for CommandStatus
Source§fn clone(&self) -> CommandStatus
fn clone(&self) -> CommandStatus
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 CommandStatus
impl Debug for CommandStatus
Source§impl Default for CommandStatus
impl Default for CommandStatus
Source§fn default() -> CommandStatus
fn default() -> CommandStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommandStatus
impl<'de> Deserialize<'de> for CommandStatus
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 CommandStatus
impl PartialEq for CommandStatus
Source§impl Serialize for CommandStatus
impl Serialize for CommandStatus
impl Copy for CommandStatus
impl Eq for CommandStatus
impl StructuralPartialEq for CommandStatus
Auto Trait Implementations§
impl Freeze for CommandStatus
impl RefUnwindSafe for CommandStatus
impl Send for CommandStatus
impl Sync for CommandStatus
impl Unpin for CommandStatus
impl UnwindSafe for CommandStatus
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