pub struct ExecutionState {
pub graph: AttractorGraph,
pub context: RunContext,
pub current_node_id: String,
pub completed_nodes: Vec<String>,
pub node_outcomes: HashMap<String, NodeOutcome>,
pub step_log: Option<Vec<ExecutionStepEntry>>,
}Expand description
Execution state for one step of the Attractor loop.
Fields§
§graph: AttractorGraph§context: RunContext§current_node_id: String§completed_nodes: Vec<String>§node_outcomes: HashMap<String, NodeOutcome>§step_log: Option<Vec<ExecutionStepEntry>>Optional step log sink; when Some, each node execution + select_edge pushes one entry.
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 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