pub struct WorkQueueWorkerLimits {
pub bounded: u32,
pub unbounded: u32,
}Expand description
Plafonds de workers io-wq rendus par IoUring::set_work_queue_max_workers
(les valeurs précédentes, réécrites par le kernel).
Fields§
§bounded: u32Plafond de la catégorie bornée (IO_WQ_BOUND : I/O disque).
unbounded: u32Plafond de la catégorie non-bornée (IO_WQ_UNBOUND : réseau).
Trait Implementations§
Source§impl Clone for WorkQueueWorkerLimits
impl Clone for WorkQueueWorkerLimits
Source§fn clone(&self) -> WorkQueueWorkerLimits
fn clone(&self) -> WorkQueueWorkerLimits
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 moreSource§impl Debug for WorkQueueWorkerLimits
impl Debug for WorkQueueWorkerLimits
Source§impl Default for WorkQueueWorkerLimits
impl Default for WorkQueueWorkerLimits
Source§fn default() -> WorkQueueWorkerLimits
fn default() -> WorkQueueWorkerLimits
Returns the “default value” for a type. Read more
Source§impl PartialEq for WorkQueueWorkerLimits
impl PartialEq for WorkQueueWorkerLimits
impl Copy for WorkQueueWorkerLimits
impl Eq for WorkQueueWorkerLimits
impl StructuralPartialEq for WorkQueueWorkerLimits
Auto Trait Implementations§
impl Freeze for WorkQueueWorkerLimits
impl RefUnwindSafe for WorkQueueWorkerLimits
impl Send for WorkQueueWorkerLimits
impl Sync for WorkQueueWorkerLimits
impl Unpin for WorkQueueWorkerLimits
impl UnsafeUnpin for WorkQueueWorkerLimits
impl UnwindSafe for WorkQueueWorkerLimits
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