pub struct ExecutionInfo {
pub checkpoint_id: String,
pub checkpoint_ns: String,
pub task_id: String,
pub step: usize,
pub recursion_limit: usize,
pub thread_id: Option<String>,
pub run_id: Option<String>,
pub node_attempt: u32,
pub node_first_attempt_time: Option<f64>,
}Expand description
Execution metadata for a graph run
Contains information about the current execution including checkpoint IDs, task IDs, retry counts, and step tracking.
Fields§
§checkpoint_id: StringCurrent checkpoint ID
checkpoint_ns: StringCheckpoint namespace (for subgraph isolation)
task_id: StringCurrent task ID
step: usizeCurrent superstep number (0-indexed)
recursion_limit: usizeMaximum allowed superstep count
thread_id: Option<String>Thread ID (None if no checkpointer)
run_id: Option<String>Run ID for tracing
node_attempt: u32Current node attempt count (1-indexed)
node_first_attempt_time: Option<f64>Unix timestamp of first node attempt (seconds)
Trait Implementations§
Source§impl Clone for ExecutionInfo
impl Clone for ExecutionInfo
Source§fn clone(&self) -> ExecutionInfo
fn clone(&self) -> ExecutionInfo
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 Freeze for ExecutionInfo
impl RefUnwindSafe for ExecutionInfo
impl Send for ExecutionInfo
impl Sync for ExecutionInfo
impl Unpin for ExecutionInfo
impl UnsafeUnpin for ExecutionInfo
impl UnwindSafe for ExecutionInfo
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