Struct cgroups_rs::cpu::Cpu
source · pub struct Cpu {
pub stat: String,
}
Expand description
The current state of the control group and its processes.
Fields§
§stat: String
Reports CPU time statistics.
Corresponds the cpu.stat
file in cpu
control group.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Cpu
impl Send for Cpu
impl Sync for Cpu
impl Unpin for Cpu
impl UnwindSafe for Cpu
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