pub struct ParallelToolExecutor;Expand description
Executes all tool calls concurrently.
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§fn default() -> ParallelToolExecutor
fn default() -> ParallelToolExecutor
Returns the “default value” for a type. Read more
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.
impl Copy 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