pub struct WorkerStats {
pub processed: u64,
pub released: u64,
pub failed: u64,
pub idles: u64,
}Expand description
What a worker run did in total.
Fields§
§processed: u64Jobs that succeeded.
released: u64Jobs that failed but were retried.
failed: u64Jobs that gave up.
idles: u64Turns of the loop that found nothing.
Implementations§
Trait Implementations§
Source§impl Clone for WorkerStats
impl Clone for WorkerStats
impl Copy for WorkerStats
Source§impl Debug for WorkerStats
impl Debug for WorkerStats
Source§impl Default for WorkerStats
impl Default for WorkerStats
impl Eq for WorkerStats
Source§impl PartialEq for WorkerStats
impl PartialEq for WorkerStats
impl StructuralPartialEq for WorkerStats
Auto Trait Implementations§
impl Freeze for WorkerStats
impl RefUnwindSafe for WorkerStats
impl Send for WorkerStats
impl Sync for WorkerStats
impl Unpin for WorkerStats
impl UnsafeUnpin for WorkerStats
impl UnwindSafe for WorkerStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn event_name() -> &'static strwhere
Self: Sized,
fn event_name() -> &'static strwhere
Self: Sized,
A human-readable name, used by wildcard listeners and log output.
Always the Rust type path; see the trait docs.