pub struct HandleAllocatorStats {
pub total_allocated: u64,
pub active_handles: u32,
pub total_slots: usize,
pub free_slots: usize,
pub relocatable_count: usize,
pub pinned_count: usize,
pub relocation_count: u64,
}Expand description
Statistics for the handle allocator.
Fields§
§total_allocated: u64Total bytes allocated
active_handles: u32Number of active handles
total_slots: usizeTotal slot capacity
free_slots: usizeNumber of free slots
relocatable_count: usizeNumber of relocatable allocations
pinned_count: usizeNumber of pinned allocations
relocation_count: u64Total relocations performed
Trait Implementations§
Source§impl Clone for HandleAllocatorStats
impl Clone for HandleAllocatorStats
Source§fn clone(&self) -> HandleAllocatorStats
fn clone(&self) -> HandleAllocatorStats
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 HandleAllocatorStats
impl Debug for HandleAllocatorStats
Source§impl Default for HandleAllocatorStats
impl Default for HandleAllocatorStats
Source§fn default() -> HandleAllocatorStats
fn default() -> HandleAllocatorStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HandleAllocatorStats
impl RefUnwindSafe for HandleAllocatorStats
impl Send for HandleAllocatorStats
impl Sync for HandleAllocatorStats
impl Unpin for HandleAllocatorStats
impl UnwindSafe for HandleAllocatorStats
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