pub struct EntryCounts {
pub tasks: usize,
pub steps: usize,
pub shared_steps: usize,
pub positions: usize,
pub task_records: usize,
pub orders: usize,
pub writers: usize,
}Expand description
How many entries of each family a set of cache entries holds, and how many tasks they belong to.
Fields§
§tasks: usizeThe distinct tasks of the task records, step positions, and learned order, and the tasks taken out of the owners of step records.
steps: usizeStep records.
Step records that are kept but lose owners, apart from the step records
counted in EntryCounts::steps.
positions: usizeStep positions.
task_records: usizeTask records.
orders: usizeLearned-order entries.
writers: usizeLast-writer entries.
Implementations§
Trait Implementations§
Source§impl Clone for EntryCounts
impl Clone for EntryCounts
impl Copy for EntryCounts
Source§impl Debug for EntryCounts
impl Debug for EntryCounts
Source§impl Default for EntryCounts
impl Default for EntryCounts
impl Eq for EntryCounts
Source§impl PartialEq for EntryCounts
impl PartialEq for EntryCounts
impl StructuralPartialEq for EntryCounts
Auto Trait Implementations§
impl Freeze for EntryCounts
impl RefUnwindSafe for EntryCounts
impl Send for EntryCounts
impl Sync for EntryCounts
impl Unpin for EntryCounts
impl UnsafeUnpin for EntryCounts
impl UnwindSafe for EntryCounts
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.