pub struct PoolStats {
pub name: String,
pub running: usize,
pub capacity: usize,
}Expand description
Statistics snapshot for the pool.
Fields§
§name: StringHuman-readable name of the pool.
running: usizeNumber of tasks currently executing.
capacity: usizeMaximum concurrent tasks the pool allows.
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