Enum sysinfo::ProcessStatus [−][src]
pub enum ProcessStatus {
Idle,
Run,
Sleep,
Stop,
Zombie,
Tracing,
Dead,
Wakekill,
Waking,
Parked,
Unknown(u32),
}
Expand description
Enum describing the different status of a process.
Variants
Idle
Linux
Waiting in uninterruptible disk sleep.
macOs
Process being created by fork.
Other OS
Not available.
Run
Running.
Sleep
Stop
Linux
Stopped (on a signal) or (before Linux 2.6.33) trace stopped.
macOS
Process debugging or suspension.
Other OS
Not available.
Zombie
Tracing
Dead
Wakekill
Waking
Parked
Unknown(u32)
Tuple Fields
0: u32
Unknown.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ProcessStatus
impl Send for ProcessStatus
impl Sync for ProcessStatus
impl Unpin for ProcessStatus
impl UnwindSafe for ProcessStatus
Blanket Implementations
Mutably borrows from an owned value. Read more