pub struct WorkerStatsInfo {
pub id: usize,
pub processed: u64,
pub stolen: u64,
pub batches_processed: u64,
}Expand description
Statistics for a worker.
Fields§
§id: usizeWorker ID
processed: u64Tasks processed
stolen: u64Tasks stolen from others
batches_processed: u64Batch tasks processed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WorkerStatsInfo
impl RefUnwindSafe for WorkerStatsInfo
impl Send for WorkerStatsInfo
impl Sync for WorkerStatsInfo
impl Unpin for WorkerStatsInfo
impl UnsafeUnpin for WorkerStatsInfo
impl UnwindSafe for WorkerStatsInfo
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