pub struct SnapshotV2DebugStats {
pub apply_observers_len: usize,
pub apply_observers_cap: usize,
pub last_writes_len: usize,
pub last_writes_cap: usize,
pub extra_state_objects_len: usize,
pub extra_state_objects_cap: usize,
pub last_unused_record_cleanup: SnapshotId,
}Expand description
Size figures of the snapshot system’s bookkeeping on the current thread, from
debug_snapshot_v2_stats. *_len is the number of entries and *_cap the entries that fit
before the storage grows.
Fields§
§apply_observers_len: usizeRegistered apply observers.
apply_observers_cap: usizeApply observers the observer storage holds before it grows.
last_writes_len: usizeState objects with a recorded last-write snapshot id.
last_writes_cap: usizeEntries the last-write record holds before it grows.
extra_state_objects_len: usizeState objects tracked for later cleanup of unused records.
extra_state_objects_cap: usizeEntries the tracked state object set holds before it grows.
last_unused_record_cleanup: SnapshotIdId of the snapshot at which unused records were last cleaned up.
Trait Implementations§
Source§impl Clone for SnapshotV2DebugStats
impl Clone for SnapshotV2DebugStats
impl Copy for SnapshotV2DebugStats
Source§impl Debug for SnapshotV2DebugStats
impl Debug for SnapshotV2DebugStats
Source§impl Default for SnapshotV2DebugStats
impl Default for SnapshotV2DebugStats
impl Eq for SnapshotV2DebugStats
Source§impl PartialEq for SnapshotV2DebugStats
impl PartialEq for SnapshotV2DebugStats
impl StructuralPartialEq for SnapshotV2DebugStats
Auto Trait Implementations§
impl Freeze for SnapshotV2DebugStats
impl RefUnwindSafe for SnapshotV2DebugStats
impl Send for SnapshotV2DebugStats
impl Sync for SnapshotV2DebugStats
impl Unpin for SnapshotV2DebugStats
impl UnsafeUnpin for SnapshotV2DebugStats
impl UnwindSafe for SnapshotV2DebugStats
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