pub struct PoolStats {
pub connections_active: u32,
pub connections_idle: u32,
pub connections_max: u32,
}Expand description
Connection pool statistics for observability
Fields§
§connections_active: u32Number of connections currently being used
connections_idle: u32Number of idle connections in the pool
connections_max: u32Maximum number of connections allowed in the pool
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 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