pub struct StressTestConfig {
pub message_count: usize,
pub concurrency: usize,
pub message_size_bytes: usize,
pub simulate_processing_delay: bool,
pub processing_delay_range_ms: (u64, u64),
pub test_timeout_secs: u64,
}Expand description
Configuration for stress tests.
Fields§
§message_count: usizeTotal number of messages to process
concurrency: usizeNumber of concurrent workers
message_size_bytes: usizeSize of each message payload in bytes
simulate_processing_delay: boolWhether to simulate processing delays
processing_delay_range_ms: (u64, u64)Processing delay range (min_ms, max_ms)
test_timeout_secs: u64Timeout for entire test
Trait Implementations§
Source§impl Clone for StressTestConfig
impl Clone for StressTestConfig
Source§fn clone(&self) -> StressTestConfig
fn clone(&self) -> StressTestConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StressTestConfig
impl Debug for StressTestConfig
Auto Trait Implementations§
impl Freeze for StressTestConfig
impl RefUnwindSafe for StressTestConfig
impl Send for StressTestConfig
impl Sync for StressTestConfig
impl Unpin for StressTestConfig
impl UnsafeUnpin for StressTestConfig
impl UnwindSafe for StressTestConfig
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