[−][src]Struct cgroups_rs::CgroupPid
A structure representing a pid. Currently implementations exist for u64 and
std::process::Child.
Fields
pid: u64The process identifier
Trait Implementations
impl Debug for CgroupPid[src]
impl Eq for CgroupPid[src]
impl<'a> From<&'a Child> for CgroupPid[src]
impl From<u64> for CgroupPid[src]
impl Ord for CgroupPid[src]
pub fn cmp(&self, other: &CgroupPid) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl PartialEq<CgroupPid> for CgroupPid[src]
impl PartialOrd<CgroupPid> for CgroupPid[src]
pub fn partial_cmp(&self, other: &CgroupPid) -> Option<Ordering>[src]
pub fn lt(&self, other: &CgroupPid) -> bool[src]
pub fn le(&self, other: &CgroupPid) -> bool[src]
pub fn gt(&self, other: &CgroupPid) -> bool[src]
pub fn ge(&self, other: &CgroupPid) -> bool[src]
impl StructuralEq for CgroupPid[src]
impl StructuralPartialEq for CgroupPid[src]
Auto Trait Implementations
impl RefUnwindSafe for CgroupPid[src]
impl Send for CgroupPid[src]
impl Sync for CgroupPid[src]
impl Unpin for CgroupPid[src]
impl UnwindSafe for CgroupPid[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,