pub struct ExecutionConfig {
pub data_collection: Option<(Duration, Duration)>,
pub chain_behavior: ChainBehavior,
pub logging_behavior: LoggingBehavior,
pub performance_mode: PerformanceMode,
}Expand description
Configuration for execution behavior in the unified run() method
Fields§
§data_collection: Option<(Duration, Duration)>Enable data collection with pre/post durations
chain_behavior: ChainBehaviorChain execution behavior
logging_behavior: LoggingBehaviorLogging behavior
performance_mode: PerformanceModePerformance optimizations
Implementations§
Source§impl ExecutionConfig
impl ExecutionConfig
Sourcepub fn with_data_collection(
self,
pre_duration: Duration,
post_duration: Duration,
) -> Self
pub fn with_data_collection( self, pre_duration: Duration, post_duration: Duration, ) -> Self
Enable data collection with specified pre/post durations
Sourcepub fn final_only(self) -> Self
pub fn final_only(self) -> Self
Set chain to return only final result
Sourcepub fn deferred_logging(self) -> Self
pub fn deferred_logging(self) -> Self
Use deferred logging (single chain entry instead of per-action)
Sourcepub fn no_logging(self) -> Self
pub fn no_logging(self) -> Self
Disable logging for this execution
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
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