pub struct BufferPoolStats {
pub total_buffers: usize,
pub available_buffers: usize,
pub utilization: f32,
pub total_memory: usize,
}
Expand description
Buffer pool statistics
Fields§
§total_buffers: usize
Total buffers in pool
available_buffers: usize
Available buffers
utilization: f32
Pool utilization (0.0-1.0)
total_memory: usize
Total memory allocated
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 moreAuto 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