pub struct PoolStats {
pub connections_created: u64,
pub connections_reused: u64,
pub connections_evicted: u64,
pub connection_failures: u64,
pub current_size: usize,
pub peak_size: usize,
}Expand description
Pool statistics for monitoring
Fields§
§connections_created: u64Total connections created
connections_reused: u64Total connections reused
connections_evicted: u64Total connections evicted
connection_failures: u64Total connection failures
current_size: usizeCurrent pool size
peak_size: usizePeak pool size
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