struct SleepData {
worker_count: usize,
active_threads: usize,
blocked_threads: usize,
}
Fields§
§worker_count: usize
The number of threads in the thread pool.
active_threads: usize
The number of threads in the thread pool which are running and aren’t blocked in user code or sleeping.
blocked_threads: usize
The number of threads which are blocked in user code. This doesn’t include threads blocked by this module.
Implementations§
Auto Trait Implementations§
impl Freeze for SleepData
impl RefUnwindSafe for SleepData
impl Send for SleepData
impl Sync for SleepData
impl Unpin for SleepData
impl UnwindSafe for SleepData
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> 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: 24 bytes