pub enum ToolExecutionMode {
Parallel,
Sequential,
}Expand description
Whether the agent executes tool calls in parallel (default) or sequentially.
Variants§
Parallel
Execute all tool calls concurrently after sequential preflight.
Sequential
Execute tool calls one at a time in order.
Trait Implementations§
Source§impl Clone for ToolExecutionMode
impl Clone for ToolExecutionMode
Source§fn clone(&self) -> ToolExecutionMode
fn clone(&self) -> ToolExecutionMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ToolExecutionMode
Source§impl Debug for ToolExecutionMode
impl Debug for ToolExecutionMode
Source§impl Default for ToolExecutionMode
impl Default for ToolExecutionMode
Source§fn default() -> ToolExecutionMode
fn default() -> ToolExecutionMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for ToolExecutionMode
impl PartialEq for ToolExecutionMode
Source§fn eq(&self, other: &ToolExecutionMode) -> bool
fn eq(&self, other: &ToolExecutionMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToolExecutionMode
Auto Trait Implementations§
impl Freeze for ToolExecutionMode
impl RefUnwindSafe for ToolExecutionMode
impl Send for ToolExecutionMode
impl Sync for ToolExecutionMode
impl Unpin for ToolExecutionMode
impl UnsafeUnpin for ToolExecutionMode
impl UnwindSafe for ToolExecutionMode
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