pub struct PoolStats {
pub total_resources: usize,
pub available_resources: usize,
pub in_use_resources: usize,
pub max_size: usize,
pub min_size: usize,
pub is_shutdown: bool,
}Expand description
Pool statistics
Fields§
§total_resources: usize§available_resources: usize§in_use_resources: usize§max_size: usize§min_size: usize§is_shutdown: boolTrait 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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more