Struct nix::unistd::Pid
pub struct Pid(_);Documentation
Process identifier
Newtype pattern around pid_t (which is just alias). It prevents bugs caused by accidentally
passing wrong value.
Implementations
Trait Implementations
impl Debug for Pid
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Display for Pid
fn fmt(&Self, f: &mut fmt::Formatter<'_>) -> fmt::Resultimpl Hash for Pid
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl Ord for Pid
fn cmp(&Self, other: &Pid) -> $crate::cmp::Orderingimpl PartialOrd<Pid> for Pid
fn partial_cmp(&Self, other: &Pid) -> $crate::option::Option<$crate::cmp::Ordering>impl StructuralEq for Pidimpl StructuralPartialEq for PidAuto Trait Implementations
impl RefUnwindSafe for Pidimpl UnwindSafe for PidBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T