Enum procfs::process::ProcState[][src]

pub enum ProcState {
    Running,
    Sleeping,
    Waiting,
    Zombie,
    Stopped,
    Tracing,
    Dead,
    Wakekill,
    Waking,
    Parked,
    Idle,
}

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

impl ProcState[src]

pub fn from_char(c: char) -> Option<ProcState>[src]

Trait Implementations

impl Clone for ProcState[src]

impl Copy for ProcState[src]

impl Debug for ProcState[src]

impl Eq for ProcState[src]

impl FromStr for ProcState[src]

type Err = ProcError

The associated error which can be returned from parsing.

impl PartialEq<ProcState> for ProcState[src]

impl StructuralEq for ProcState[src]

impl StructuralPartialEq for ProcState[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.