pub struct ToolExecutionConfig {
pub timeout_ms: u64,
pub retry_on_fail: bool,
pub max_retries: u32,
pub retry_delay_ms: u64,
pub max_concurrency: Option<usize>,
}Expand description
Tool execution config: timeout, retry, concurrency
Fields§
§timeout_ms: u64Maximum execution time for a single attempt.
retry_on_fail: boolWhether failed executions should be retried automatically.
max_retries: u32Maximum number of retry attempts.
retry_delay_ms: u64Delay between retry attempts.
max_concurrency: Option<usize>Optional concurrency cap shared by the tool manager.
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
Source§impl Default for ToolExecutionConfig
impl Default for ToolExecutionConfig
Source§fn default() -> ToolExecutionConfig
fn default() -> ToolExecutionConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ToolExecutionConfig
impl RefUnwindSafe for ToolExecutionConfig
impl Send for ToolExecutionConfig
impl Sync for ToolExecutionConfig
impl Unpin for ToolExecutionConfig
impl UnsafeUnpin 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