pub struct StatsGlobal {
pub jobs: usize,
pub enqueued: usize,
pub processed: i64,
pub dead: usize,
pub scheduled: usize,
pub retries: usize,
pub latency_s_max: f64,
}Expand description
Global aggregate statistics.
Fields§
§jobs: usizeTotal number of jobs (enqueued + scheduled).
enqueued: usizeNumber of jobs currently enqueued.
processed: i64Total number of jobs processed.
dead: usizeNumber of dead jobs.
scheduled: usizeNumber of scheduled jobs.
retries: usizeNumber of jobs in retry queue.
latency_s_max: f64Maximum latency across all queues in seconds.
Trait Implementations§
Source§impl Clone for StatsGlobal
impl Clone for StatsGlobal
Source§fn clone(&self) -> StatsGlobal
fn clone(&self) -> StatsGlobal
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatsGlobal
impl Debug for StatsGlobal
Source§impl<'de> Deserialize<'de> for StatsGlobal
impl<'de> Deserialize<'de> for StatsGlobal
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 StatsGlobal
impl RefUnwindSafe for StatsGlobal
impl Send for StatsGlobal
impl Sync for StatsGlobal
impl Unpin for StatsGlobal
impl UnsafeUnpin for StatsGlobal
impl UnwindSafe for StatsGlobal
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