pub struct BatchCounts {
pub retained: usize,
pub coalesced: usize,
pub replaced: usize,
pub evicted: usize,
pub dropped: usize,
pub cancelled: usize,
pub runtime_discarded: usize,
}Expand description
Saturating counts since the preceding flush (or construction).
retained counts insertions, including evicting insertions; replaced is a
subset of coalesced. Dropped arrivals, evictions, explicit cancellations
and runtime discards are separate. Current occupancy is CueBatch::len.
Fields§
§retained: usize§coalesced: usize§replaced: usize§evicted: usize§dropped: usize§cancelled: usize§runtime_discarded: usizeTrait Implementations§
Source§impl Clone for BatchCounts
impl Clone for BatchCounts
Source§fn clone(&self) -> BatchCounts
fn clone(&self) -> BatchCounts
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 moreSource§impl Debug for BatchCounts
impl Debug for BatchCounts
Source§impl Default for BatchCounts
impl Default for BatchCounts
Source§fn default() -> BatchCounts
fn default() -> BatchCounts
Returns the “default value” for a type. Read more
Source§impl PartialEq for BatchCounts
impl PartialEq for BatchCounts
impl Copy for BatchCounts
impl Eq for BatchCounts
impl StructuralPartialEq for BatchCounts
Auto Trait Implementations§
impl Freeze for BatchCounts
impl RefUnwindSafe for BatchCounts
impl Send for BatchCounts
impl Sync for BatchCounts
impl Unpin for BatchCounts
impl UnwindSafe for BatchCounts
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