pub struct Signals {
pub arrivals: u64,
pub dt: f64,
pub service_secs: f64,
pub backlog: [u64; 4],
pub busy: u32,
pub capacity: u32,
pub reserved: u32,
pub min: u32,
pub max: u32,
}Expand description
Signals sampled at each evaluation.
Fields§
§arrivals: u64Tasks that became eligible since the previous evaluation.
dt: f64Seconds since the previous evaluation.
service_secs: f64Mean service time in seconds.
backlog: [u64; 4]Waiting tasks per class (ready, due and retrying).
busy: u32Workers currently running a task.
capacity: u32Workers currently available to the pool.
reserved: u32Peak concurrent reservations of not-yet-started fixed-start tasks within the horizon.
min: u32Lower bound on the result (PoolConfig::min_workers).
max: u32Upper bound on the result (PoolConfig::max_workers).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Signals
impl RefUnwindSafe for Signals
impl Send for Signals
impl Sync for Signals
impl Unpin for Signals
impl UnsafeUnpin for Signals
impl UnwindSafe for Signals
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