pub enum CommandOutcome {
Success,
Failed(i32),
TimedOut,
Cancelled,
OutputLimitExceeded,
}Expand description
Command exit classification.
Variants§
Success
Process exited with success.
Failed(i32)
Process exited nonzero.
TimedOut
Deadline exceeded; process group cleanup completed.
Cancelled
Caller cancelled execution; process-group cleanup completed.
OutputLimitExceeded
Output exceeded a configured bound.
Trait Implementations§
Source§impl Clone for CommandOutcome
impl Clone for CommandOutcome
impl Copy for CommandOutcome
Source§impl Debug for CommandOutcome
impl Debug for CommandOutcome
Source§impl<'de> Deserialize<'de> for CommandOutcome
impl<'de> Deserialize<'de> for CommandOutcome
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 CommandOutcome
Source§impl PartialEq for CommandOutcome
impl PartialEq for CommandOutcome
Source§impl Serialize for CommandOutcome
impl Serialize for CommandOutcome
impl StructuralPartialEq for CommandOutcome
Auto Trait Implementations§
impl Forget for CommandOutcome
impl Freeze for CommandOutcome
impl Move for CommandOutcome
impl RefUnwindSafe for CommandOutcome
impl Send for CommandOutcome
impl Sync for CommandOutcome
impl Unpin for CommandOutcome
impl UnsafeUnpin for CommandOutcome
impl UnwindSafe for CommandOutcome
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.