pub struct PoolStats {
pub pool_type: String,
pub max_concurrency: u32,
pub pool_size: u32,
pub available: u32,
pub processes: Vec<u32>,
}Expand description
Worker pool statistics
Fields§
§pool_type: StringPool type (prefork, solo, threads, etc.)
max_concurrency: u32Maximum concurrency
pool_size: u32Current pool size
available: u32Available workers in pool
processes: Vec<u32>Worker process IDs
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PoolStats
impl<'de> Deserialize<'de> for PoolStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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