pub enum WorkflowTerminalState {
Completed,
Failed,
Cancelled,
}Expand description
Terminal state for one workflow run.
Variants§
Completed
Every scheduled node completed successfully.
Failed
At least one node failed with an execution, lifecycle, metadata, or validation error.
Cancelled
The run terminated because cancellation was the first observed error.
Trait Implementations§
Source§impl Clone for WorkflowTerminalState
impl Clone for WorkflowTerminalState
Source§fn clone(&self) -> WorkflowTerminalState
fn clone(&self) -> WorkflowTerminalState
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 WorkflowTerminalState
impl Debug for WorkflowTerminalState
Source§impl PartialEq for WorkflowTerminalState
impl PartialEq for WorkflowTerminalState
Source§fn eq(&self, other: &WorkflowTerminalState) -> bool
fn eq(&self, other: &WorkflowTerminalState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WorkflowTerminalState
impl Eq for WorkflowTerminalState
impl StructuralPartialEq for WorkflowTerminalState
Auto Trait Implementations§
impl Freeze for WorkflowTerminalState
impl RefUnwindSafe for WorkflowTerminalState
impl Send for WorkflowTerminalState
impl Sync for WorkflowTerminalState
impl Unpin for WorkflowTerminalState
impl UnsafeUnpin for WorkflowTerminalState
impl UnwindSafe for WorkflowTerminalState
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).