pub struct ExecutionConfig {
pub timeout_ms: u64,
pub use_cache: bool,
pub record_execution: bool,
pub env_overrides: HashMap<String, String>,
pub custom_params: HashMap<String, Value>,
}Expand description
Configuration for how to execute during replay
Fields§
§timeout_ms: u64Maximum time to wait for execution (ms)
use_cache: boolWhether to use cached results if available
record_execution: boolWhether to record the execution for auditing
env_overrides: HashMap<String, String>Environment overrides for execution
custom_params: HashMap<String, Value>Custom parameters passed to executor
Implementations§
Source§impl ExecutionConfig
impl ExecutionConfig
pub fn new() -> Self
pub fn with_timeout(self, timeout_ms: u64) -> Self
pub fn with_cache(self, use_cache: bool) -> Self
pub fn with_recording(self, record: bool) -> Self
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 UnsafeUnpin 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