struct CfsQuota {
max_cores: Option<f64>,
}Expand description
Effective CPU limit from CFS quota (None = unlimited).
Fields§
§max_cores: Option<f64>Maximum fractional cores allowed (e.g. 1.5 for –cpus=1.5)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CfsQuota
impl RefUnwindSafe for CfsQuota
impl Send for CfsQuota
impl Sync for CfsQuota
impl Unpin for CfsQuota
impl UnsafeUnpin for CfsQuota
impl UnwindSafe for CfsQuota
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