pub struct CappedCpu {
pub ncpus: f64,
}
Expand description
Resource indicating the amount of CPU time that can be used by a zone.
Fields§
§ncpus: f64
The percentage of a single CPU that can be used by all user threads in a zone. As an example, “1.0” represents 100% of a single CPU.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CappedCpu
impl Send for CappedCpu
impl Sync for CappedCpu
impl Unpin for CappedCpu
impl UnwindSafe for CappedCpu
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