pub struct CallFrame {
pub flow_id: FlowId,
pub ir_hash: Hash,
pub call_step_id: Option<StepId>,
pub inputs_snapshot: Value,
pub vars: BTreeMap<String, Value>,
pub iter_stack: Vec<IterState>,
pub next_index: u64,
}Expand description
One frame of the live call stack (07 §3.2 refinement; frames[0] is the
root flow frame). Pending spine incorporation of the refined fields.
Fields§
§flow_id: FlowIdThe flow executing in this frame.
ir_hash: HashContent hash of that flow’s IR.
call_step_id: Option<StepId>The host call step’s id; absent for the root frame and for handler-repair launched frames (spine §9).
inputs_snapshot: ValueCall-by-value input snapshot taken when the frame was pushed; never updated from a newer IR (07 §5.2).
vars: BTreeMap<String, Value>let bindings materialized in this frame (SSA, single assignment).
iter_stack: Vec<IterState>Live foreach iterations, innermost last.
next_index: u64Index of the next body step to schedule in this frame.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CallFrame
impl<'de> Deserialize<'de> for CallFrame
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
Source§impl JsonSchema for CallFrame
impl JsonSchema for CallFrame
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for CallFrame
Auto Trait Implementations§
impl Freeze for CallFrame
impl RefUnwindSafe for CallFrame
impl Send for CallFrame
impl Sync for CallFrame
impl Unpin for CallFrame
impl UnsafeUnpin for CallFrame
impl UnwindSafe for CallFrame
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