pub(super) struct Counters {
word: usize,
}
Fields§
§word: usize
Implementations§
Source§impl Counters
impl Counters
fn new(word: usize) -> Counters
fn increment_jobs_counter(self) -> Counters
pub(super) fn jobs_counter(self) -> JobsEventCounter
Sourcepub(super) fn inactive_threads(self) -> usize
pub(super) fn inactive_threads(self) -> usize
The number of threads that are not actively executing work. They may be idle, sleepy, or asleep.
pub(super) fn awake_but_idle_threads(self) -> usize
pub(super) fn sleeping_threads(self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Counters
impl RefUnwindSafe for Counters
impl Send for Counters
impl Sync for Counters
impl Unpin for Counters
impl UnwindSafe for Counters
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> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes