pub enum ExecutionState {
Running,
Paused,
Completed(FlowResult),
Failed(String),
Terminated,
}Expand description
Snapshot of a workflow execution’s current lifecycle state.
Variants§
Running
Actively executing nodes.
Paused
Paused at a wave boundary; waiting for a resume signal.
Completed(FlowResult)
Finished successfully. Contains the per-node outputs.
Failed(String)
Aborted due to a node error. Contains the error message.
Terminated
Stopped by an external FlowEngine::terminate call.
Implementations§
Trait Implementations§
Source§impl Clone for ExecutionState
impl Clone for ExecutionState
Source§fn clone(&self) -> ExecutionState
fn clone(&self) -> ExecutionState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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