pub enum WorkflowRunState {
Started,
InProgress,
InProgressPendingRequests,
Idle,
IdleWithPendingRequests,
Failed,
Cancelled,
}Expand description
The run state of a workflow, mirroring Python’s WorkflowRunState.
The string forms match the Python enum values (SCREAMING_SNAKE_CASE) so
serialized status is interchangeable with the reference implementation.
Variants§
Started
Run has been initiated; pre-work phase.
InProgress
The workflow is actively executing.
InProgressPendingRequests
Active execution while one or more info requests are outstanding.
Idle
Quiescent with no outstanding requests and no more work; terminal.
IdleWithPendingRequests
Paused awaiting external input; non-terminal (resumable).
Failed
Finished with an error; terminal.
Cancelled
Finished due to cancellation; terminal.
Trait Implementations§
Source§impl Clone for WorkflowRunState
impl Clone for WorkflowRunState
Source§fn clone(&self) -> WorkflowRunState
fn clone(&self) -> WorkflowRunState
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 moreimpl Copy for WorkflowRunState
Source§impl Debug for WorkflowRunState
impl Debug for WorkflowRunState
Source§impl<'de> Deserialize<'de> for WorkflowRunState
impl<'de> Deserialize<'de> for WorkflowRunState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WorkflowRunState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WorkflowRunState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorkflowRunState
Source§impl PartialEq for WorkflowRunState
impl PartialEq for WorkflowRunState
Source§impl Serialize for WorkflowRunState
impl Serialize for WorkflowRunState
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for WorkflowRunState
Auto Trait Implementations§
impl Freeze for WorkflowRunState
impl RefUnwindSafe for WorkflowRunState
impl Send for WorkflowRunState
impl Sync for WorkflowRunState
impl Unpin for WorkflowRunState
impl UnsafeUnpin for WorkflowRunState
impl UnwindSafe for WorkflowRunState
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