Struct below_model::cgroup::SingleCgroupModel [−][src]
pub struct SingleCgroupModel {
pub name: String,
pub full_path: String,
pub inode_number: Option<u64>,
pub depth: u32,
pub cpu: Option<CgroupCpuModel>,
pub memory: Option<CgroupMemoryModel>,
pub io: Option<BTreeMap<String, CgroupIoModel>>,
pub io_total: Option<CgroupIoModel>,
pub pressure: Option<CgroupPressureModel>,
}
Expand description
Collection of all data local to the cgroup, e.g. its memory/io/cpu usage. Nothing about child cgroups or siblings, and therefore “Single” in its name.
Fields
name: String
full_path: String
inode_number: Option<u64>
depth: u32
cpu: Option<CgroupCpuModel>
memory: Option<CgroupMemoryModel>
io: Option<BTreeMap<String, CgroupIoModel>>
io_total: Option<CgroupIoModel>
pressure: Option<CgroupPressureModel>
Trait Implementations
Returns the “default value” for a type. Read more
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 RefUnwindSafe for SingleCgroupModel
impl Send for SingleCgroupModel
impl Sync for SingleCgroupModel
impl Unpin for SingleCgroupModel
impl UnwindSafe for SingleCgroupModel
Blanket Implementations
Mutably borrows from an owned value. Read more