Enum ChaosMode Copy item path Source pub enum ChaosMode {
Random,
Swarm,
}Expand description How an enabled chaos surface is sampled each seed.
This is the sampling-strategy axis, orthogonal to which surface is
enabled (see Chaos ). It does not apply to the workload operation-alphabet
swarm, which is a test-driver concern with its own switch
(SimulationBuilder::swarm_operations ).
Full surface every seed: all sub-families active, intensities seed-randomized.
Network/storage use random_for_seed; attrition uses the configured regime
as written (reboot kinds still vary per seed via the in-run RNG).
Swarm testing (Groce et al., ISSTA 2012): a per-seed random subset of
sub-families is active, the rest fully off.
Network/storage use swarm_for_seed; attrition randomizes the reboot regime
per seed, including the never-reboot and single-mode cases.
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Returns the argument unchanged.
Instruments this type with the provided
Span, returning an
Instrumented wrapper.
Read more Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.