pub struct SimReport {
pub replicas: usize,
pub writes: u64,
pub converged: bool,
pub converged_at: Option<u64>,
pub messages_sent: u64,
pub messages_dropped: u64,
pub messages_delivered: u64,
pub sync_rounds: u64,
pub worst_lag: u64,
pub final_value: i64,
}Expand description
The outcome of a run — the same for any two runs of the same scenario.
Fields§
§replicas: usize§writes: u64§converged: boolWhether every replica’s counter equals the global write total.
converged_at: Option<u64>The first tick (after writes/partitions settled) at which it converged.
messages_sent: u64§messages_dropped: u64§messages_delivered: u64§sync_rounds: u64§worst_lag: u64The largest number of writes any single replica is still missing.
final_value: i64The converged value held by replica 0 (equals writes on success).
Trait Implementations§
impl Eq for SimReport
impl StructuralPartialEq for SimReport
Auto Trait Implementations§
impl Forget for SimReport
impl Freeze for SimReport
impl RefUnwindSafe for SimReport
impl Send for SimReport
impl Sync for SimReport
impl Unpin for SimReport
impl UnsafeUnpin for SimReport
impl UnwindSafe for SimReport
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