Struct cgroups_rs::CgroupPid
source · pub struct CgroupPid {
pub pid: u64,
}Expand description
A structure representing a pid. Currently implementations exist for u64 and
std::process::Child.
Fields§
§pid: u64The process identifier
Trait Implementations§
source§impl Ord for CgroupPid
impl Ord for CgroupPid
source§impl PartialEq<CgroupPid> for CgroupPid
impl PartialEq<CgroupPid> for CgroupPid
source§impl PartialOrd<CgroupPid> for CgroupPid
impl PartialOrd<CgroupPid> for CgroupPid
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for CgroupPid
impl StructuralEq for CgroupPid
impl StructuralPartialEq for CgroupPid
Auto Trait Implementations§
impl RefUnwindSafe for CgroupPid
impl Send for CgroupPid
impl Sync for CgroupPid
impl Unpin for CgroupPid
impl UnwindSafe for CgroupPid
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