pub struct ParallelToolExecutor { /* private fields */ }Expand description
Executes all tool calls concurrently.
Implementations§
Source§impl ParallelToolExecutor
impl ParallelToolExecutor
pub const fn batch_approval() -> Self
pub const fn streaming() -> Self
Trait Implementations§
Source§impl Clone for ParallelToolExecutor
impl Clone for ParallelToolExecutor
Source§fn clone(&self) -> ParallelToolExecutor
fn clone(&self) -> ParallelToolExecutor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParallelToolExecutor
impl Debug for ParallelToolExecutor
Source§impl Default for ParallelToolExecutor
impl Default for ParallelToolExecutor
Source§impl PartialEq for ParallelToolExecutor
impl PartialEq for ParallelToolExecutor
Source§impl ToolExecutor for ParallelToolExecutor
impl ToolExecutor for ParallelToolExecutor
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
request: ToolExecutionRequest<'life1>,
) -> Pin<Box<dyn Future<Output = Result<Vec<ToolExecutionResult>, ToolExecutorError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn requires_parallel_patch_conflict_check(&self) -> bool
fn requires_parallel_patch_conflict_check(&self) -> bool
Whether apply step should enforce parallel patch conflict checks.
Source§fn decision_replay_policy(&self) -> DecisionReplayPolicy
fn decision_replay_policy(&self) -> DecisionReplayPolicy
How runtime should replay resolved suspend decisions for this executor.
impl Copy for ParallelToolExecutor
impl Eq for ParallelToolExecutor
impl StructuralPartialEq for ParallelToolExecutor
Auto Trait Implementations§
impl Freeze for ParallelToolExecutor
impl RefUnwindSafe for ParallelToolExecutor
impl Send for ParallelToolExecutor
impl Sync for ParallelToolExecutor
impl Unpin for ParallelToolExecutor
impl UnsafeUnpin for ParallelToolExecutor
impl UnwindSafe for ParallelToolExecutor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.