pub enum Status {
Running,
Sleeping,
Waiting,
Zombie,
Stopped,
Tracing,
Dead,
Wakekill,
Waking,
Parked,
Idle,
}
Expand description
Process status.
Returned by Process::status method.
Variants§
Running
Running
Sleeping
Sleeping in an interruptible wait
Waiting
Waiting in uninterruptible disk sleep
Zombie
Zombie
Stopped
Stopped (on a signal)
Or before Linux 2.6.33, trace stopped
Tracing
Tracing stop (Linux 2.6.33 onward)
Dead
Dead
Wakekill
Wakekill (Linux 2.6.33 to 3.13 only)
Waking
Waking (Linux 2.6.33 to 3.13 only)
Parked
Parked (P) (Linux 3.9 to 3.13 only)
Idle
Trait Implementations§
Source§impl Ord for Status
impl Ord for Status
Source§impl PartialOrd for Status
impl PartialOrd for Status
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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
)