Enum procfs_core::process::ProcState
source · pub enum ProcState {
Running,
Sleeping,
Waiting,
Zombie,
Stopped,
Tracing,
Dead,
Wakekill,
Waking,
Parked,
Idle,
}
Expand description
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)
Idle
Idle (I)
Implementations§
Trait Implementations§
source§impl PartialEq for ProcState
impl PartialEq for ProcState
impl Copy for ProcState
impl Eq for ProcState
impl StructuralEq for ProcState
impl StructuralPartialEq for ProcState
Auto Trait Implementations§
impl RefUnwindSafe for ProcState
impl Send for ProcState
impl Sync for ProcState
impl Unpin for ProcState
impl UnwindSafe for ProcState
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