#[non_exhaustive]pub enum RunOutcome {
Completed,
Failed,
Crashed,
Running,
}Expand description
How a run ended, independent of whether its results were any good.
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.
Completed
Finished successfully.
Failed
Finished with an error.
Crashed
Marked running, but the heartbeat went stale: the process died.
Running
Still going.
Implementations§
Source§impl RunOutcome
impl RunOutcome
Trait Implementations§
Source§impl Clone for RunOutcome
impl Clone for RunOutcome
Source§fn clone(&self) -> RunOutcome
fn clone(&self) -> RunOutcome
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 moreSource§impl Debug for RunOutcome
impl Debug for RunOutcome
Source§impl<'de> Deserialize<'de> for RunOutcome
impl<'de> Deserialize<'de> for RunOutcome
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 RunOutcome
impl PartialEq for RunOutcome
Source§fn eq(&self, other: &RunOutcome) -> bool
fn eq(&self, other: &RunOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RunOutcome
impl Serialize for RunOutcome
impl Copy for RunOutcome
impl Eq for RunOutcome
impl StructuralPartialEq for RunOutcome
Auto Trait Implementations§
impl Freeze for RunOutcome
impl RefUnwindSafe for RunOutcome
impl Send for RunOutcome
impl Sync for RunOutcome
impl Unpin for RunOutcome
impl UnsafeUnpin for RunOutcome
impl UnwindSafe for RunOutcome
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