pub struct WorkQueueStats {
pub pending: usize,
pub claimed: usize,
pub in_progress: usize,
pub completed: usize,
pub failed: usize,
pub cancelled: usize,
}Expand description
Queue statistics.
Fields§
§pending: usizeNumber of items waiting to be claimed.
claimed: usizeNumber of items claimed but not started.
in_progress: usizeNumber of items currently executing.
completed: usizeNumber of items finished successfully.
failed: usizeNumber of items that failed.
cancelled: usizeNumber of items cancelled.
Trait Implementations§
Source§impl Clone for WorkQueueStats
impl Clone for WorkQueueStats
Source§fn clone(&self) -> WorkQueueStats
fn clone(&self) -> WorkQueueStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkQueueStats
impl Debug for WorkQueueStats
Source§impl Default for WorkQueueStats
impl Default for WorkQueueStats
Source§fn default() -> WorkQueueStats
fn default() -> WorkQueueStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkQueueStats
impl<'de> Deserialize<'de> for WorkQueueStats
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 WorkQueueStats
impl RefUnwindSafe for WorkQueueStats
impl Send for WorkQueueStats
impl Sync for WorkQueueStats
impl Unpin for WorkQueueStats
impl UnsafeUnpin for WorkQueueStats
impl UnwindSafe for WorkQueueStats
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