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: u64
The 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 more