pub struct PoolStats {
pub total_created: usize,
pub active_count: usize,
pub available_permits: usize,
}Expand description
Pool statistics
Fields§
§total_created: usizeTotal workers created
active_count: usizeCurrently active workers
available_permits: usizeAvailable permits (slots for new workers)
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 UnsafeUnpin 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