pub struct CgroupCounters {
pub cpu_usec: Option<u64>,
pub mem_bytes: Option<u64>,
pub io: Vec<CgroupIo>,
}Expand description
A control group’s cumulative counters and current memory. A member
is None, or the list empty, when the group’s controller for it is
not enabled.
Fields§
§cpu_usec: Option<u64>CPU time taken, in microseconds.
mem_bytes: Option<u64>§io: Vec<CgroupIo>Trait Implementations§
Source§impl Clone for CgroupCounters
impl Clone for CgroupCounters
Source§impl Debug for CgroupCounters
impl Debug for CgroupCounters
Source§impl Default for CgroupCounters
impl Default for CgroupCounters
impl Eq for CgroupCounters
Source§impl PartialEq for CgroupCounters
impl PartialEq for CgroupCounters
impl StructuralPartialEq for CgroupCounters
Auto Trait Implementations§
impl Forget for CgroupCounters
impl Freeze for CgroupCounters
impl Move for CgroupCounters
impl RefUnwindSafe for CgroupCounters
impl Send for CgroupCounterswhere
RawVecInner: Send,
impl Sync for CgroupCounterswhere
RawVecInner: Sync,
impl Unpin for CgroupCounters
impl UnsafeUnpin for CgroupCounters
impl UnwindSafe for CgroupCounterswhere
RawVecInner: UnwindSafe,
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