Enum sysinfo::ProcessStatus
[−]
[src]
pub enum ProcessStatus {
Idle,
Run,
Sleep,
Stop,
Zombie,
Tracing,
Dead,
Wakekill,
Waking,
Parked,
Unknown(u32),
}Enum describing the different status of a process.
Variants
IdleWaiting in uninterruptible disk sleep.
RunRunning.
SleepSleeping in an interruptible waiting.
StopStopped (on a signal) or (before Linux 2.6.33) trace stopped.
ZombieZombie.
TracingTracing stop (Linux 2.6.33 onward).
DeadDead.
WakekillWakekill (Linux 2.6.33 to 3.13 only).
WakingWaking (Linux 2.6.33 to 3.13 only).
ParkedParked (Linux 3.9 to 3.13 only).
Unknown(u32)Unknown.
Methods
impl ProcessStatus[src]
Trait Implementations
impl Clone for ProcessStatus[src]
fn clone(&self) -> ProcessStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for ProcessStatus[src]
impl From<u32> for ProcessStatus[src]
fn from(status: u32) -> ProcessStatus
Performs the conversion.
impl From<char> for ProcessStatus[src]
fn from(status: char) -> ProcessStatus
Performs the conversion.