Struct cgroupfs::CgroupStat
source · pub struct CgroupStat {
pub nr_descendants: Option<u32>,
pub nr_dying_descendants: Option<u32>,
}
Fields§
§nr_descendants: Option<u32>
§nr_dying_descendants: Option<u32>
Trait Implementations§
source§impl Clone for CgroupStat
impl Clone for CgroupStat
source§fn clone(&self) -> CgroupStat
fn clone(&self) -> CgroupStat
Returns a copy of the value. Read more
1.0.0 · 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 CgroupStat
impl Debug for CgroupStat
source§impl Default for CgroupStat
impl Default for CgroupStat
source§fn default() -> CgroupStat
fn default() -> CgroupStat
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CgroupStat
impl<'de> Deserialize<'de> for CgroupStat
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
source§impl PartialEq for CgroupStat
impl PartialEq for CgroupStat
source§fn eq(&self, other: &CgroupStat) -> bool
fn eq(&self, other: &CgroupStat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CgroupStat
impl Serialize for CgroupStat
impl Eq for CgroupStat
impl StructuralPartialEq for CgroupStat
Auto Trait Implementations§
impl Freeze for CgroupStat
impl RefUnwindSafe for CgroupStat
impl Send for CgroupStat
impl Sync for CgroupStat
impl Unpin for CgroupStat
impl UnwindSafe for CgroupStat
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