pub struct WorkerPoolStats {
pub num_workers: usize,
pub next_input_sequence: u64,
pub sequence_ring_stats: SequenceRingStats,
}Expand description
Statistics about worker pool operation
Fields§
§num_workers: usizeNumber of worker threads
next_input_sequence: u64Next input sequence ID to assign
sequence_ring_stats: SequenceRingStatsSequence ring statistics
Trait Implementations§
Source§impl Clone for WorkerPoolStats
impl Clone for WorkerPoolStats
Source§fn clone(&self) -> WorkerPoolStats
fn clone(&self) -> WorkerPoolStats
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 moreAuto Trait Implementations§
impl Freeze for WorkerPoolStats
impl RefUnwindSafe for WorkerPoolStats
impl Send for WorkerPoolStats
impl Sync for WorkerPoolStats
impl Unpin for WorkerPoolStats
impl UnsafeUnpin for WorkerPoolStats
impl UnwindSafe for WorkerPoolStats
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