pub enum PidLiveness {
Running,
NotRunning,
Indeterminate,
}Expand description
Tri-state PID liveness result.
Variants§
Implementations§
Source§impl PidLiveness
impl PidLiveness
pub fn is_definitely_not_running(self) -> bool
pub fn is_running_or_indeterminate(self) -> bool
Trait Implementations§
Source§impl Clone for PidLiveness
impl Clone for PidLiveness
Source§fn clone(&self) -> PidLiveness
fn clone(&self) -> PidLiveness
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PidLiveness
impl Debug for PidLiveness
Source§impl PartialEq for PidLiveness
impl PartialEq for PidLiveness
impl Copy for PidLiveness
impl Eq for PidLiveness
impl StructuralPartialEq for PidLiveness
Auto Trait Implementations§
impl Freeze for PidLiveness
impl RefUnwindSafe for PidLiveness
impl Send for PidLiveness
impl Sync for PidLiveness
impl Unpin for PidLiveness
impl UnsafeUnpin for PidLiveness
impl UnwindSafe for PidLiveness
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.