pub struct GraphExecution<S: StateSchema> {
pub state: S,
pub current_node: String,
pub steps: Vec<ExecutionStep>,
pub recursion_count: usize,
pub interrupted_at: String,
}Expand description
GraphExecution - State for interrupted execution that can be resumed
Fields§
§state: SThe state at the point of interruption.
current_node: StringThe node where execution was interrupted.
steps: Vec<ExecutionStep>Execution steps recorded so far.
recursion_count: usizeRecursion budget consumed up to the interruption.
interrupted_at: StringWhere execution was interrupted (“node” or “after_node”).
Implementations§
Source§impl<S: StateSchema> GraphExecution<S>
impl<S: StateSchema> GraphExecution<S>
Trait Implementations§
Source§impl<S: Clone + StateSchema> Clone for GraphExecution<S>
impl<S: Clone + StateSchema> Clone for GraphExecution<S>
Source§fn clone(&self) -> GraphExecution<S>
fn clone(&self) -> GraphExecution<S>
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 moreAuto Trait Implementations§
impl<S> Freeze for GraphExecution<S>where
S: Freeze,
impl<S> RefUnwindSafe for GraphExecution<S>where
S: RefUnwindSafe,
impl<S> Send for GraphExecution<S>
impl<S> Sync for GraphExecution<S>
impl<S> Unpin for GraphExecution<S>where
S: Unpin,
impl<S> UnsafeUnpin for GraphExecution<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for GraphExecution<S>where
S: UnwindSafe,
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