Struct zellij_server::os_input_output::Pid [−]
pub struct Pid(_);
Expand description
Process identifier
Newtype pattern around pid_t
(which is just alias). It prevents bugs caused by accidentally
passing wrong value.
Implementations
impl Pid
impl Pid
Trait Implementations
impl PartialOrd<Pid> for Pid
impl PartialOrd<Pid> for Pid
pub fn partial_cmp(&self, other: &Pid) -> Option<Ordering>
pub fn partial_cmp(&self, other: &Pid) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl StructuralEq for Pid
impl StructuralPartialEq for Pid
Auto Trait Implementations
impl RefUnwindSafe for Pid
impl UnwindSafe for Pid
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more