pub struct BufferPoolStats {
pub allocations: usize,
pub deallocations: usize,
pub cache_hits: usize,
pub cache_misses: usize,
pub small_buffers_pooled: usize,
pub medium_buffers_pooled: usize,
pub large_buffers_pooled: usize,
}Expand description
Buffer pool statistics.
Fields§
§allocations: usize§deallocations: usize§cache_hits: usize§cache_misses: usize§small_buffers_pooled: usize§medium_buffers_pooled: usize§large_buffers_pooled: usizeImplementations§
Trait Implementations§
Source§impl Clone for BufferPoolStats
impl Clone for BufferPoolStats
Source§fn clone(&self) -> BufferPoolStats
fn clone(&self) -> BufferPoolStats
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 BufferPoolStats
impl Debug for BufferPoolStats
impl Copy for BufferPoolStats
Auto Trait Implementations§
impl Freeze for BufferPoolStats
impl RefUnwindSafe for BufferPoolStats
impl Send for BufferPoolStats
impl Sync for BufferPoolStats
impl Unpin for BufferPoolStats
impl UnwindSafe for BufferPoolStats
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