pub struct PoolStats {
pub capacity: usize,
pub available: usize,
pub allocated: usize,
pub acquired: usize,
pub enabled: bool,
}Expand description
Pool statistics
Fields§
§capacity: usizePool capacity
available: usizeAvailable spans in pool
allocated: usizeTotal spans allocated (including auto-growth)
acquired: usizeTotal acquire operations
enabled: boolWhether pooling is enabled
Implementations§
Trait 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 UnsafeUnpin 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