pub struct ToolExecutionConfig {
pub max_retries: u32,
pub retry_delay: Duration,
pub exponential_backoff: bool,
pub max_retry_delay: Duration,
pub parallel_execution: bool,
pub max_concurrent_tools: usize,
}
Expand description
Configuration for tool execution.
Fields§
§max_retries: u32
Maximum number of retry attempts for failed tools.
retry_delay: Duration
Base delay between retry attempts.
exponential_backoff: bool
Whether to use exponential backoff for retries.
max_retry_delay: Duration
Maximum delay for exponential backoff.
parallel_execution: bool
Whether to execute tools in parallel when possible.
max_concurrent_tools: usize
Maximum number of concurrent tool executions.
Trait Implementations§
Source§impl Clone for ToolExecutionConfig
impl Clone for ToolExecutionConfig
Source§fn clone(&self) -> ToolExecutionConfig
fn clone(&self) -> ToolExecutionConfig
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 ToolExecutionConfig
impl Debug for ToolExecutionConfig
Auto Trait Implementations§
impl Freeze for ToolExecutionConfig
impl RefUnwindSafe for ToolExecutionConfig
impl Send for ToolExecutionConfig
impl Sync for ToolExecutionConfig
impl Unpin for ToolExecutionConfig
impl UnwindSafe for ToolExecutionConfig
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