pub enum StressTestScenario {
HighVolumeData {
scale_factor: f64,
batch_size: usize,
},
ConcurrentExecution {
num_threads: usize,
num_pipelines: usize,
},
MemoryPressure {
target_memory_mb: u64,
allocation_pattern: MemoryPattern,
},
CpuIntensive {
complexity_level: usize,
computation_type: ComputationType,
},
LongRunning {
duration: Duration,
operation_interval: Duration,
},
ResourceStarvation {
memory_limit_mb: u64,
cpu_limit_percent: f64,
},
EdgeCaseHandling {
edge_cases: Vec<EdgeCase>,
},
}Expand description
Different stress test scenarios
Variants§
HighVolumeData
High volume data processing
ConcurrentExecution
Concurrent pipeline execution
MemoryPressure
Memory pressure testing
CpuIntensive
CPU intensive operations
LongRunning
Long running stability test
ResourceStarvation
Resource starvation
EdgeCaseHandling
Edge case handling
Trait Implementations§
Source§impl Clone for StressTestScenario
impl Clone for StressTestScenario
Source§fn clone(&self) -> StressTestScenario
fn clone(&self) -> StressTestScenario
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 StressTestScenario
impl Debug for StressTestScenario
Source§impl<'de> Deserialize<'de> for StressTestScenario
impl<'de> Deserialize<'de> for StressTestScenario
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 StressTestScenario
impl RefUnwindSafe for StressTestScenario
impl Send for StressTestScenario
impl Sync for StressTestScenario
impl Unpin for StressTestScenario
impl UnwindSafe for StressTestScenario
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more