Struct rayon_core::sleep::counters::Counters
source · 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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)