pub struct PhaseConfig {
pub chaos_duration: Duration,
pub recovery_duration: Duration,
}Expand description
Two-phase simulation configuration.
Controls the TigerBeetle VOPR-style chaos/recovery lifecycle:
- Chaos phase (
chaos_duration): Workloads + fault injectors run concurrently. Invariants are checked after every simulation event. - Recovery phase (
recovery_duration): Fault injectors stopped, workloads continue, system heals. Verifies convergence after faults cease.
Fields§
§chaos_duration: DurationDuration of the chaos phase (faults + workloads run concurrently).
recovery_duration: DurationDuration of the recovery phase (faults stopped, workloads continue).
Trait Implementations§
Source§impl Clone for PhaseConfig
impl Clone for PhaseConfig
Source§fn clone(&self) -> PhaseConfig
fn clone(&self) -> PhaseConfig
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 moreAuto Trait Implementations§
impl Freeze for PhaseConfig
impl RefUnwindSafe for PhaseConfig
impl Send for PhaseConfig
impl Sync for PhaseConfig
impl Unpin for PhaseConfig
impl UnsafeUnpin for PhaseConfig
impl UnwindSafe for PhaseConfig
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