pub struct ExecutionConfig {
pub timeout: Duration,
pub max_retries: usize,
pub parallel_limit: usize,
pub enable_logging: bool,
pub enable_tracing: bool,
}Expand description
Execution configuration for orchestrators
Fields§
§timeout: DurationMaximum time for entire orchestration
max_retries: usizeMaximum number of retries per agent
parallel_limit: usizeMaximum parallel agent executions
enable_logging: boolEnable detailed logging
enable_tracing: boolEnable execution tracing
Implementations§
Source§impl ExecutionConfig
impl ExecutionConfig
Sourcepub fn with_timeout(self, timeout: Duration) -> Self
pub fn with_timeout(self, timeout: Duration) -> Self
Set timeout
Sourcepub fn with_max_retries(self, max_retries: usize) -> Self
pub fn with_max_retries(self, max_retries: usize) -> Self
Set max retries
Sourcepub fn with_parallel_limit(self, parallel_limit: usize) -> Self
pub fn with_parallel_limit(self, parallel_limit: usize) -> Self
Set parallel limit
Sourcepub fn with_logging(self, enable: bool) -> Self
pub fn with_logging(self, enable: bool) -> Self
Enable logging
Sourcepub fn with_tracing(self, enable: bool) -> Self
pub fn with_tracing(self, enable: bool) -> Self
Enable tracing
Trait Implementations§
Source§impl Clone for ExecutionConfig
impl Clone for ExecutionConfig
Source§fn clone(&self) -> ExecutionConfig
fn clone(&self) -> ExecutionConfig
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 ExecutionConfig
impl Debug for ExecutionConfig
Source§impl Default for ExecutionConfig
impl Default for ExecutionConfig
Source§impl<'de> Deserialize<'de> for ExecutionConfig
impl<'de> Deserialize<'de> for ExecutionConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExecutionConfig
impl RefUnwindSafe for ExecutionConfig
impl Send for ExecutionConfig
impl Sync for ExecutionConfig
impl Unpin for ExecutionConfig
impl UnwindSafe for ExecutionConfig
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