pub struct CGroupRuntime {
pub path: Option<String>,
pub cpu_usage_nsec: Option<u64>,
pub memory_current: Option<u64>,
pub memory_available: Option<u64>,
pub tasks_current: Option<u64>,
pub io_read_bytes: Option<u64>,
pub io_read_operations: Option<u64>,
}Expand description
cgroup accounting for a unit. Fields appear only when the matching accounting option is enabled for the unit.
Fields§
§path: Option<String>cgroup path, relative to the cgroup mount point.
cpu_usage_nsec: Option<u64>§memory_current: Option<u64>§memory_available: Option<u64>§tasks_current: Option<u64>§io_read_bytes: Option<u64>§io_read_operations: Option<u64>Trait Implementations§
Source§impl Clone for CGroupRuntime
impl Clone for CGroupRuntime
Source§fn clone(&self) -> CGroupRuntime
fn clone(&self) -> CGroupRuntime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CGroupRuntime
impl Debug for CGroupRuntime
Source§impl<'de> Deserialize<'de> for CGroupRuntime
impl<'de> Deserialize<'de> for CGroupRuntime
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CGroupRuntime
impl RefUnwindSafe for CGroupRuntime
impl Send for CGroupRuntime
impl Sync for CGroupRuntime
impl Unpin for CGroupRuntime
impl UnsafeUnpin for CGroupRuntime
impl UnwindSafe for CGroupRuntime
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