pub struct BarrierPlanner;Expand description
Barrier planner: batches shared tools; flushes on exclusive.
Trait Implementations§
Source§impl ToolExecutionPlanner for BarrierPlanner
impl ToolExecutionPlanner for BarrierPlanner
Source§fn plan(
&self,
tool_uses: &[(String, String, Value)],
decider: &dyn ConcurrencyDecider,
) -> Vec<BatchItem>
fn plan( &self, tool_uses: &[(String, String, Value)], decider: &dyn ConcurrencyDecider, ) -> Vec<BatchItem>
Plan execution batches from an ordered list of tool calls. The planner
must preserve relative order of application and introduce parallelism
only for Shared batches. The decider classifies each tool.
Auto Trait Implementations§
impl Freeze for BarrierPlanner
impl RefUnwindSafe for BarrierPlanner
impl Send for BarrierPlanner
impl Sync for BarrierPlanner
impl Unpin for BarrierPlanner
impl UnsafeUnpin for BarrierPlanner
impl UnwindSafe for BarrierPlanner
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