pub enum WorkflowStepStatus {
Pending,
Running,
Completed,
Failed,
Skipped,
Waiting,
TimedOut,
}Expand description
Status of a single workflow step execution.
Variants§
Implementations§
Source§impl WorkflowStepStatus
impl WorkflowStepStatus
Sourcepub fn short_label(&self) -> &'static str
pub fn short_label(&self) -> &'static str
Short display label used in summaries and status columns.
Sourcepub fn is_terminal(&self) -> bool
pub fn is_terminal(&self) -> bool
Whether this status is terminal (no further transitions expected).
Sourcepub fn is_starting(&self) -> bool
pub fn is_starting(&self) -> bool
Whether this status represents a step that is starting (running or waiting).
Trait Implementations§
Source§impl Clone for WorkflowStepStatus
impl Clone for WorkflowStepStatus
Source§fn clone(&self) -> WorkflowStepStatus
fn clone(&self) -> WorkflowStepStatus
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 WorkflowStepStatus
impl Debug for WorkflowStepStatus
Source§impl Default for WorkflowStepStatus
impl Default for WorkflowStepStatus
Source§fn default() -> WorkflowStepStatus
fn default() -> WorkflowStepStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowStepStatus
impl<'de> Deserialize<'de> for WorkflowStepStatus
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 WorkflowStepStatus
impl Display for WorkflowStepStatus
Source§impl FromStr for WorkflowStepStatus
impl FromStr for WorkflowStepStatus
Source§impl PartialEq for WorkflowStepStatus
impl PartialEq for WorkflowStepStatus
Source§fn eq(&self, other: &WorkflowStepStatus) -> bool
fn eq(&self, other: &WorkflowStepStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkflowStepStatus
impl Serialize for WorkflowStepStatus
impl Eq for WorkflowStepStatus
impl StructuralPartialEq for WorkflowStepStatus
Auto Trait Implementations§
impl Freeze for WorkflowStepStatus
impl RefUnwindSafe for WorkflowStepStatus
impl Send for WorkflowStepStatus
impl Sync for WorkflowStepStatus
impl Unpin for WorkflowStepStatus
impl UnsafeUnpin for WorkflowStepStatus
impl UnwindSafe for WorkflowStepStatus
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