pub struct PoolStats {
pub idle_connections: usize,
pub active_connections: usize,
pub hosts: usize,
}Expand description
Connection pool statistics
Fields§
§idle_connections: usizeNumber of idle connections
active_connections: usizeNumber of active connections
hosts: usizeNumber of unique hosts
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