pub enum LinkStatus {
Pending,
Started,
Completed,
Failed,
Skipped,
}Expand description
Where one composed ceremony has got to inside a run.
Skipped is not a failure and not a success: it is what a run says
when a participant the ceremony needed could not be materialized.
Recording it as anything else would hide the gap.
Variants§
Implementations§
Source§impl LinkStatus
impl LinkStatus
pub const fn as_str(self) -> &'static str
Sourcepub const fn is_settled(self) -> bool
pub const fn is_settled(self) -> bool
Whether a link in this state can still change.
Sourcepub const fn releases_dependants(self) -> bool
pub const fn releases_dependants(self) -> bool
Whether dependants of this link may start.
Only completion releases them. A skipped ceremony produced no outputs, so anything that read them would be reading nothing.
Sourcepub const fn diagram_class(self) -> &'static str
pub const fn diagram_class(self) -> &'static str
The CSS class the diagram gives a node in this state.
Trait Implementations§
Source§impl Clone for LinkStatus
impl Clone for LinkStatus
impl Copy for LinkStatus
Source§impl Debug for LinkStatus
impl Debug for LinkStatus
Source§impl<'de> Deserialize<'de> for LinkStatus
impl<'de> Deserialize<'de> for LinkStatus
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 LinkStatus
impl Display for LinkStatus
impl Eq for LinkStatus
Source§impl Hash for LinkStatus
impl Hash for LinkStatus
Source§impl Ord for LinkStatus
impl Ord for LinkStatus
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 LinkStatus
impl PartialEq for LinkStatus
Source§impl PartialOrd for LinkStatus
impl PartialOrd for LinkStatus
Source§impl Serialize for LinkStatus
impl Serialize for LinkStatus
impl StructuralPartialEq for LinkStatus
Auto Trait Implementations§
impl Freeze for LinkStatus
impl RefUnwindSafe for LinkStatus
impl Send for LinkStatus
impl Sync for LinkStatus
impl Unpin for LinkStatus
impl UnsafeUnpin for LinkStatus
impl UnwindSafe for LinkStatus
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