pub struct OperationCounts {
pub gets: usize,
pub sets: usize,
pub set_nx_px: usize,
pub deletes: usize,
}Expand description
Tracks operation counts for test verification.
Fields§
§gets: usize§sets: usize§set_nx_px: usize§deletes: usizeTrait Implementations§
Source§impl Clone for OperationCounts
impl Clone for OperationCounts
Source§fn clone(&self) -> OperationCounts
fn clone(&self) -> OperationCounts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OperationCounts
impl Debug for OperationCounts
Source§impl Default for OperationCounts
impl Default for OperationCounts
Source§fn default() -> OperationCounts
fn default() -> OperationCounts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OperationCounts
impl RefUnwindSafe for OperationCounts
impl Send for OperationCounts
impl Sync for OperationCounts
impl Unpin for OperationCounts
impl UnsafeUnpin for OperationCounts
impl UnwindSafe for OperationCounts
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