pub struct RootRecord {Show 13 fields
pub root_name: String,
pub root_name_original_bytes: usize,
pub root_name_truncated: bool,
pub initial_phase: u8,
pub source_kind: SourceKind,
pub producer_calls: usize,
pub source_successes: usize,
pub binding_returns: usize,
pub dispatch_outcome: Option<Outcome>,
pub completion: Option<Completion>,
pub outcome: Outcome,
pub interrupted_stage: Option<&'static str>,
pub span: Span,
}Expand description
One root attempt, submitted in completion order to this thread’s buffer.
Fields§
§root_name: StringUTF-8 root name prefix bounded by ROOT_NAME_LIMIT.
root_name_original_bytes: usizeByte length of the original name before capping.
root_name_truncated: boolWhether the stored name omits an original suffix.
initial_phase: u8Engine phase at entry; callbacks may change the phase later.
source_kind: SourceKindOrigin of the source supplied to this attempt.
producer_calls: usizeNumber of actual producer calls; zero includes a successful Edits reuse.
source_successes: usizeSource evaluation returned successfully, rather than deferring or failing.
binding_returns: usizeRecursive binding returned a Result, including an error Result.
dispatch_outcome: Option<Outcome>Result observed immediately after dispatch; absent for skip or unwind.
completion: Option<Completion>Handler action, absent if it did not finish normally.
outcome: OutcomeFinal outcome; unwind overrides any earlier dispatch result.
interrupted_stage: Option<&'static str>Active interval when normal body completion was interrupted.
span: SpanLocal span only: it is never submitted to evaluation’s global span list.