pub struct PoolStats {
pub total: usize,
pub available: usize,
pub in_use: usize,
pub acquisitions: u64,
pub releases: u64,
pub timeouts: u64,
pub executions: u64,
pub total_execution_time: Duration,
}Expand description
Statistics about pool usage.
Fields§
§total: usizeTotal number of engines.
available: usizeNumber of available engines.
in_use: usizeNumber of engines currently in use.
acquisitions: u64Total number of acquisitions.
releases: u64Total number of releases.
timeouts: u64Total number of timeouts.
executions: u64Total execution count.
total_execution_time: DurationTotal execution time.
Implementations§
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