pub struct WorkQueueLimits {
pub min_threads: Option<u32>,
pub max_threads: Option<u32>,
}Expand description
Work queue limits extracted from the process.
Fields§
§min_threads: Option<u32>Constrained thread limit (kern.wq_max_constrained_threads).
max_threads: Option<u32>Total thread limit (kern.wq_max_threads).
Trait Implementations§
Source§impl Clone for WorkQueueLimits
impl Clone for WorkQueueLimits
Source§fn clone(&self) -> WorkQueueLimits
fn clone(&self) -> WorkQueueLimits
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 WorkQueueLimits
impl RefUnwindSafe for WorkQueueLimits
impl Send for WorkQueueLimits
impl Sync for WorkQueueLimits
impl Unpin for WorkQueueLimits
impl UnsafeUnpin for WorkQueueLimits
impl UnwindSafe for WorkQueueLimits
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