pub struct Simulation { /* private fields */ }Expand description
A running simulation.
Implementations§
Source§impl Simulation
impl Simulation
Sourcepub fn replica_online(&self) -> Vec<bool>
pub fn replica_online(&self) -> Vec<bool>
Per-replica liveness (for building a console snapshot).
Sourcepub fn current_worst_lag(&self) -> u64
pub fn current_worst_lag(&self) -> u64
The largest write-deficit across replicas, right now.
Auto Trait Implementations§
impl !RefUnwindSafe for Simulation
impl !UnwindSafe for Simulation
impl Forget for Simulation
impl Freeze for Simulation
impl Send for Simulation
impl Sync for Simulation
impl Unpin for Simulation
impl UnsafeUnpin for Simulation
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