Enum tabin_plugins::procfs::WorkSource[][src]

pub enum WorkSource {
    Active,
    ActivePlusIoWait,
    ActiveMinusNice,
    User,
    Nice,
    System,
    Irq,
    SoftIrq,
    Steal,
    Guest,
    GuestNice,
    Idle,
    IoWait,
}

A kind of CPU usage

Corresponds to the fields and functions in Calculations, q.v. for the definitions.

Variants

Active
ActivePlusIoWait
ActiveMinusNice
User
Nice
System
Irq
SoftIrq
Steal
Guest
GuestNice
Idle
IoWait

Trait Implementations

impl Debug for WorkSource[src]

impl<'de> Deserialize<'de> for WorkSource[src]

impl Display for WorkSource[src]

impl Eq for WorkSource[src]

impl FromStr for WorkSource[src]

type Err = InvalidWorkSource

The associated error which can be returned from parsing.

impl PartialEq<WorkSource> for WorkSource[src]

impl StructuralEq for WorkSource[src]

impl StructuralPartialEq for WorkSource[src]

Auto Trait Implementations

impl RefUnwindSafe for WorkSource

impl Send for WorkSource

impl Sync for WorkSource

impl Unpin for WorkSource

impl UnwindSafe for WorkSource

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.