pub struct PoolStats {
pub available_buffers: usize,
pub total_buffers_created: u64,
pub total_memory_allocated: usize,
pub peak_memory_usage: usize,
pub memory_reuse_count: u64,
pub current_memory_usage: usize,
pub pooled_memory: usize,
pub buffer_hits: u64,
pub buffer_misses: u64,
}Expand description
Statistics for the memory pool
Fields§
§available_buffers: usize§total_buffers_created: u64§total_memory_allocated: usize§peak_memory_usage: usize§memory_reuse_count: u64§current_memory_usage: usize§pooled_memory: usize§buffer_hits: u64§buffer_misses: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for PoolStats
impl RefUnwindSafe for PoolStats
impl Send for PoolStats
impl Sync for PoolStats
impl Unpin for PoolStats
impl UnwindSafe for PoolStats
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