pub enum PathFrame {
Flow {
flow_id: FlowId,
ir_hash: Hash,
},
Step {
step_id: StepId,
},
Call {
step_id: Option<StepId>,
callee_flow_id: FlowId,
callee_ir_hash: Hash,
},
Iteration {
index: u64,
key: Option<String>,
},
Hook {
hook: HandlerHook,
trigger: u64,
},
Attempt {
n: u64,
},
Phase {
phase: Phase,
},
Assertion {
assert_id: AssertId,
},
}Expand description
One frame of a RunPath (8 kinds, closed; spine §9), internally tagged
with kind.
Variants§
Flow
A flow root. Paths always carry the flow’s irHash (hard rule 1).
Step
A step within the current flow body.
Call
A subflow call frame.
Fields
Iteration
A foreach iteration.
Hook
A handler execution (audit trace of spine R10).
Attempt
An act-chain attempt.
Phase
A step pipeline phase.
Assertion
An assertion within the assert phase.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PathFrame
impl<'de> Deserialize<'de> for PathFrame
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 From<&PathFrame> for ParsedPathFrame
impl From<&PathFrame> for ParsedPathFrame
Source§impl JsonSchema for PathFrame
impl JsonSchema for PathFrame
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 PathFrame
Auto Trait Implementations§
impl Freeze for PathFrame
impl RefUnwindSafe for PathFrame
impl Send for PathFrame
impl Sync for PathFrame
impl Unpin for PathFrame
impl UnsafeUnpin for PathFrame
impl UnwindSafe for PathFrame
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