pub struct OptimisticStats {
pub total_resources: usize,
pub total_conflicts: usize,
pub resolved_by_retry: usize,
pub escalated: usize,
}Expand description
Statistics about optimistic concurrency
Fields§
§total_resources: usizeNumber of resources being tracked
total_conflicts: usizeTotal number of conflicts recorded
resolved_by_retry: usizeConflicts resolved by retry
escalated: usizeConflicts escalated
Trait Implementations§
Source§impl Clone for OptimisticStats
impl Clone for OptimisticStats
Source§fn clone(&self) -> OptimisticStats
fn clone(&self) -> OptimisticStats
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 OptimisticStats
impl RefUnwindSafe for OptimisticStats
impl Send for OptimisticStats
impl Sync for OptimisticStats
impl Unpin for OptimisticStats
impl UnsafeUnpin for OptimisticStats
impl UnwindSafe for OptimisticStats
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