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§
impl Copy for ProcState
impl Eq for ProcState
impl StructuralPartialEq for ProcState
Auto Trait Implementations§
impl Freeze for ProcState
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)