pub enum DebugState {
Running,
Paused {
task_id: String,
reason: String,
},
Stepping,
Completed,
Failed {
error: String,
},
}Expand description
Debug state for workflow execution.
Variants§
Running
Execution is running.
Paused
Execution is paused at a breakpoint.
Stepping
Execution is stepping through tasks.
Completed
Execution has completed.
Failed
Execution has failed.
Trait Implementations§
Source§impl Clone for DebugState
impl Clone for DebugState
Source§fn clone(&self) -> DebugState
fn clone(&self) -> DebugState
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 moreSource§impl Debug for DebugState
impl Debug for DebugState
Source§impl<'de> Deserialize<'de> for DebugState
impl<'de> Deserialize<'de> for DebugState
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
Auto Trait Implementations§
impl Freeze for DebugState
impl RefUnwindSafe for DebugState
impl Send for DebugState
impl Sync for DebugState
impl Unpin for DebugState
impl UnsafeUnpin for DebugState
impl UnwindSafe for DebugState
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