pub struct PoolMetrics { /* private fields */ }Expand description
Metrics for the connection pool
Implementations§
Source§impl PoolMetrics
impl PoolMetrics
Sourcepub fn snapshot(&self) -> PoolMetricsSnapshot
pub fn snapshot(&self) -> PoolMetricsSnapshot
Get a snapshot of current metrics
Trait Implementations§
Source§impl Debug for PoolMetrics
impl Debug for PoolMetrics
Auto Trait Implementations§
impl !Freeze for PoolMetrics
impl RefUnwindSafe for PoolMetrics
impl Send for PoolMetrics
impl Sync for PoolMetrics
impl Unpin for PoolMetrics
impl UnwindSafe for PoolMetrics
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