pub enum ExecutionState {
Planned,
Running,
Completed,
Failed,
}Expand description
Where a whole system run has got to.
Derived from its links rather than set by hand, so the summary and the detail cannot disagree.
Variants§
Implementations§
Source§impl ExecutionState
impl ExecutionState
pub const fn as_str(self) -> &'static str
Sourcepub fn of(links: impl IntoIterator<Item = LinkStatus>) -> Self
pub fn of(links: impl IntoIterator<Item = LinkStatus>) -> Self
Fold the state of every composed ceremony into the run’s own.
A run with a failed ceremony has failed even if others are still going: what it promised is no longer deliverable, and calling it “running” would invite somebody to wait for it.
Trait Implementations§
Source§impl Clone for ExecutionState
impl Clone for ExecutionState
impl Copy for ExecutionState
Source§impl Debug for ExecutionState
impl Debug for ExecutionState
Source§impl<'de> Deserialize<'de> for ExecutionState
impl<'de> Deserialize<'de> for ExecutionState
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 Display for ExecutionState
impl Display for ExecutionState
impl Eq for ExecutionState
Source§impl Hash for ExecutionState
impl Hash for ExecutionState
Source§impl Ord for ExecutionState
impl Ord for ExecutionState
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 ExecutionState
impl PartialEq for ExecutionState
Source§impl PartialOrd for ExecutionState
impl PartialOrd for ExecutionState
Source§impl Serialize for ExecutionState
impl Serialize for ExecutionState
impl StructuralPartialEq for ExecutionState
Auto Trait Implementations§
impl Freeze for ExecutionState
impl RefUnwindSafe for ExecutionState
impl Send for ExecutionState
impl Sync for ExecutionState
impl Unpin for ExecutionState
impl UnsafeUnpin for ExecutionState
impl UnwindSafe for ExecutionState
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