Struct check_cpu::Args[][src]

pub(crate) struct Args {
    warn: f64,
    crit: f64,
    sample: u64,
    show_hogs: usize,
    per_cpu: bool,
    cpu_count: u32,
    work_type: Vec<WorkSource>,
}

Check cpu usage of the current computer

Fields

warn: f64crit: f64sample: u64show_hogs: usizeper_cpu: boolcpu_count: u32work_type: Vec<WorkSource>

Trait Implementations

impl Debug for Args[src]

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

impl StructOpt for Args[src]

impl StructOptInternal for Args[src]

Auto Trait Implementations

impl RefUnwindSafe for Args

impl Send for Args

impl Sync for Args

impl Unpin for Args

impl UnwindSafe for Args

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<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, 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.