pub struct WorkerStats {
pub tasks: usize,
pub utilization: u32,
pub is_empty: bool,
}
Fields§
§tasks: usize
§utilization: u32
§is_empty: bool
Implementations§
Trait Implementations§
Source§impl Debug for WorkerStats
impl Debug for WorkerStats
Source§impl Default for WorkerStats
impl Default for WorkerStats
Source§fn default() -> WorkerStats
fn default() -> WorkerStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkerStats
impl RefUnwindSafe for WorkerStats
impl Send for WorkerStats
impl Sync for WorkerStats
impl Unpin 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