Enum procfs::ProcState [−][src]
pub enum ProcState { Running, Sleeping, Waiting, Zombie, Stopped, Tracing, Dead, Wakekill, Waking, Parked, }
Represents the state of a process.
Variants
Running
Running (R)
Sleeping
Sleeping in an interruptible wait (S)
Waiting
Waiting in uninterruptible disk sleep (D)
Zombie
Zombie (Z)
Stopped
Stopped (on a signal) (T)
Or before Linux 2.6.33, trace stopped
Tracing
Tracing stop (t) (Linux 2.6.33 onward)
Dead
Dead (X)
Wakekill
Wakekill (K) (Linux 2.6.33 to 3.13 only)
Waking
Waking (W) (Linux 2.6.33 to 3.13 only)
Parked
Parked (P) (Linux 3.9 to 3.13 only)
Methods
impl ProcState
[src]
impl ProcState
Trait Implementations
impl Debug for ProcState
[src]
impl Debug for ProcState
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ProcState
[src]
impl Clone for ProcState
fn clone(&self) -> ProcState
[src]
fn clone(&self) -> ProcState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for ProcState
[src]
impl Copy for ProcState
impl Eq for ProcState
[src]
impl Eq for ProcState
impl PartialEq for ProcState
[src]
impl PartialEq for ProcState
fn eq(&self, other: &ProcState) -> bool
[src]
fn eq(&self, other: &ProcState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl FromStr for ProcState
[src]
impl FromStr for ProcState