pub struct ToolFilterState;Expand description
Accumulated tool filter state for the current inference step.
Written by ExcludeTool and IncludeOnlyTools handlers.
Read and cleared by the orchestrator after the EXECUTE loop.
Trait Implementations§
Source§impl StateKey for ToolFilterState
impl StateKey for ToolFilterState
const KEY: &'static str = "__runtime.tool_filter_state"
Source§const MERGE: MergeStrategy = MergeStrategy::Commutative
const MERGE: MergeStrategy = MergeStrategy::Commutative
Parallel merge strategy. Default:
Exclusive (conflict on concurrent writes).type Value = ToolFilterStateValue
type Update = ToolFilterStateAction
fn apply(value: &mut Self::Value, update: Self::Update)
fn encode(value: &Self::Value) -> Result<Value, StateError>
fn decode(value: Value) -> Result<Self::Value, StateError>
Auto Trait Implementations§
impl Freeze for ToolFilterState
impl RefUnwindSafe for ToolFilterState
impl Send for ToolFilterState
impl Sync for ToolFilterState
impl Unpin for ToolFilterState
impl UnsafeUnpin for ToolFilterState
impl UnwindSafe for ToolFilterState
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