struct PlanRun {
cancelled: bool,
running_async: HashMap<String, RunningAsyncCall>,
stop_points: HashMap<String, StopWhen>,
description: String,
ops: Vec<OpMeta>,
op_state: HashMap<String, u32>,
}Fields§
§cancelled: bool§running_async: HashMap<String, RunningAsyncCall>§stop_points: HashMap<String, StopWhen>op_id → when to cancel the whole plan once execution reaches that op.
Set by the stop_plan_at builtin; read by the execution loop at each
do node. At most one phase per op_id (a later set overwrites).
description: StringPlan-level description (the root node’s description = the overall task),
so get_all_plans can tell the LLM what each running plan is.
ops: Vec<OpMeta>Static op list snapshotted at register time (arena order), so
get_plan_status can report op_ids/descriptions the LLM can target.
op_state: HashMap<String, u32>op_id → latest RTDL node state observed during execution. Absent = the
op has not started yet (reported as pending).
Auto Trait Implementations§
impl Freeze for PlanRun
impl RefUnwindSafe for PlanRun
impl Send for PlanRun
impl Sync for PlanRun
impl Unpin for PlanRun
impl UnsafeUnpin for PlanRun
impl UnwindSafe for PlanRun
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].