pub struct PoolSnapshot {
pub string_pool: PoolStats,
pub buffer_pool_available: usize,
}Expand description
Snapshot of memory pools.
Fields§
§string_pool: PoolStatsString pool statistics.
buffer_pool_available: usizeNumber of available buffers in buffer pool.
Implementations§
Source§impl PoolSnapshot
impl PoolSnapshot
Trait Implementations§
Source§impl Clone for PoolSnapshot
impl Clone for PoolSnapshot
Source§fn clone(&self) -> PoolSnapshot
fn clone(&self) -> PoolSnapshot
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 PoolSnapshot
impl Debug for PoolSnapshot
Source§impl Default for PoolSnapshot
impl Default for PoolSnapshot
Source§fn default() -> PoolSnapshot
fn default() -> PoolSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PoolSnapshot
impl RefUnwindSafe for PoolSnapshot
impl Send for PoolSnapshot
impl Sync for PoolSnapshot
impl Unpin for PoolSnapshot
impl UnwindSafe for PoolSnapshot
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