Skip to main content

SlotTableLocalDebugStats

Struct SlotTableLocalDebugStats 

Source
pub struct SlotTableLocalDebugStats {
Show 24 fields pub group_count: usize, pub group_capacity: usize, pub group_record_size: usize, pub group_heap_bytes: usize, pub payload_count: usize, pub payload_capacity: usize, pub active_payload_anchor_count: usize, pub payload_anchor_slot_count: usize, pub detached_payload_anchor_count: usize, pub invalidated_payload_anchor_count: usize, pub free_payload_anchor_count: usize, pub payload_anchor_capacity: usize, pub payload_anchor_heap_bytes: usize, pub node_count: usize, pub node_capacity: usize, pub active_anchor_count: usize, pub anchor_slot_count: usize, pub anchor_sparse_count: usize, pub detached_anchor_count: usize, pub invalidated_anchor_count: usize, pub free_anchor_count: usize, pub anchor_capacity: usize, pub anchor_heap_bytes: usize, pub mutation: SlotTableMutationDebugStats,
}
Expand description

Size and count figures for one slot table, from SlotTable::debug_stats. Counts are in items and sizes are in bytes.

Fields§

§group_count: usize

Groups stored in the table.

§group_capacity: usize

Groups the group vector holds before it reallocates.

§group_record_size: usize

Size of one group record in bytes.

§group_heap_bytes: usize

Heap bytes reserved for group records.

§payload_count: usize

Payload slots stored across all groups.

§payload_capacity: usize

Payload slots the payload store holds before it reallocates.

§active_payload_anchor_count: usize

Payload anchors that point at a live payload.

§payload_anchor_slot_count: usize

Entries in the payload anchor registry in any state.

§detached_payload_anchor_count: usize

Payload anchors whose payload is detached from the table.

§invalidated_payload_anchor_count: usize

Payload anchor entries that no longer resolve to a payload.

§free_payload_anchor_count: usize

Payload anchor ids free for reuse.

§payload_anchor_capacity: usize

Payload anchor entries the registry holds before it reallocates.

§payload_anchor_heap_bytes: usize

Heap bytes reserved by the payload anchor registry.

§node_count: usize

Nodes stored across all groups.

§node_capacity: usize

Nodes the node storage holds before it reallocates.

§active_anchor_count: usize

Group anchors that point at a live group.

§anchor_slot_count: usize

Entries in the group anchor registry in any state.

§anchor_sparse_count: usize

Anchor entries kept in the sparse map instead of the dense vector.

§detached_anchor_count: usize

Group anchors whose group is detached from the table.

§invalidated_anchor_count: usize

Group anchor entries that no longer resolve to a group.

§free_anchor_count: usize

Group anchor ids free for reuse.

§anchor_capacity: usize

Anchor entries the registry holds before it reallocates.

§anchor_heap_bytes: usize

Heap bytes reserved by the group anchor registry.

§mutation: SlotTableMutationDebugStats

Counters for subtree moves and index refreshes.

Trait Implementations§

Source§

impl Clone for SlotTableLocalDebugStats

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for SlotTableLocalDebugStats

Source§

impl Debug for SlotTableLocalDebugStats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SlotTableLocalDebugStats

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for SlotTableLocalDebugStats

Source§

impl PartialEq for SlotTableLocalDebugStats

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for SlotTableLocalDebugStats

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.