pub struct PrefixPathPoolStats {
pub cursor_weak_entries: usize,
pub cursor_dead_entries: usize,
pub cursor_depth: usize,
pub entries: usize,
pub usable_capacity: usize,
pub entry_limit: usize,
pub dead_entries: usize,
}Expand description
Explicit bounded-pool occupancy and weak-storage diagnostic.
Fields§
§cursor_weak_entries: usizeZero or one additional weak node references held by the ancestry cursor. This can refer to the same allocation as a hash-table entry.
cursor_dead_entries: usizeCursor weak references whose node body has died. Not an additional unique allocation count: the hash table can also hold the same dead allocation.
cursor_depth: usizeCached path depth, zero when empty and never greater than 16.
entries: usizeWeak entries currently retained by this pool.
usable_capacity: usizeHashMap usable capacity, not allocator bytes or physical bucket count.
entry_limit: usizeMaximum entries before the next insertion clears the pool.
dead_entries: usizeWeak entries whose node body has died but allocation remains reserved.
Trait Implementations§
Source§impl Clone for PrefixPathPoolStats
impl Clone for PrefixPathPoolStats
impl Copy for PrefixPathPoolStats
Auto Trait Implementations§
impl Forget for PrefixPathPoolStats
impl Freeze for PrefixPathPoolStats
impl Move for PrefixPathPoolStats
impl RefUnwindSafe for PrefixPathPoolStats
impl Send for PrefixPathPoolStats
impl Sync for PrefixPathPoolStats
impl Unpin for PrefixPathPoolStats
impl UnsafeUnpin for PrefixPathPoolStats
impl UnwindSafe for PrefixPathPoolStats
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