pub struct CgroupEntry {
pub hierarchy: u32,
pub controllers: String,
pub path: String,
}Expand description
A cgroup membership entry from /proc/<pid>/cgroup.
Fields§
§hierarchy: u32§controllers: String§path: StringTrait Implementations§
Source§impl Clone for CgroupEntry
impl Clone for CgroupEntry
Source§impl Debug for CgroupEntry
impl Debug for CgroupEntry
impl Eq for CgroupEntry
Source§impl PartialEq for CgroupEntry
impl PartialEq for CgroupEntry
impl StructuralPartialEq for CgroupEntry
Auto Trait Implementations§
impl Freeze for CgroupEntry
impl RefUnwindSafe for CgroupEntry
impl Send for CgroupEntry
impl Sync for CgroupEntry
impl Unpin for CgroupEntry
impl UnsafeUnpin for CgroupEntry
impl UnwindSafe for CgroupEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more