pub struct AggregatePoolStats {
pub tenant_pools: usize,
pub total_active: u32,
pub total_idle: u32,
pub total_max: u32,
pub total_waiting: u32,
pub total_acquires: u64,
pub total_timeouts: u64,
pub average_utilization: f32,
}Expand description
Aggregate pool statistics
Fields§
§tenant_pools: usizeNumber of tenant-specific pools
total_active: u32Total active connections across all pools
total_idle: u32Total idle connections across all pools
total_max: u32Total maximum connections across all pools
total_waiting: u32Total waiting requests
total_acquires: u64Total acquire attempts
total_timeouts: u64Total timeout occurrences
average_utilization: f32Average utilization across all pools
Trait Implementations§
Source§impl Clone for AggregatePoolStats
impl Clone for AggregatePoolStats
Source§fn clone(&self) -> AggregatePoolStats
fn clone(&self) -> AggregatePoolStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AggregatePoolStats
impl RefUnwindSafe for AggregatePoolStats
impl Send for AggregatePoolStats
impl Sync for AggregatePoolStats
impl Unpin for AggregatePoolStats
impl UnsafeUnpin for AggregatePoolStats
impl UnwindSafe for AggregatePoolStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more