pub struct SoakStats {
pub ops: Vec<OpRecord>,
pub contended: Vec<FinalContended>,
pub unique: Vec<FinalUnique>,
pub conflicts_observed: u64,
pub writers_completed: usize,
pub writers_total: usize,
}Expand description
Everything the oracle needs: op outcomes, final reads, and writer completion.
Fields§
§ops: Vec<OpRecord>§contended: Vec<FinalContended>§unique: Vec<FinalUnique>§conflicts_observed: u64Total transient Conflict outcomes observed across all RMW retries — the
evidence the CAS actually arbitrated racing writers. Zero means the race
invariant was never exercised.
writers_completed: usize§writers_total: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for SoakStats
impl RefUnwindSafe for SoakStats
impl Send for SoakStats
impl Sync for SoakStats
impl Unpin for SoakStats
impl UnsafeUnpin for SoakStats
impl UnwindSafe for SoakStats
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request