Struct check_procs::Args[][src]

pub(crate) struct Args {
    pattern: Option<Regex>,
    crit_under: Option<usize>,
    crit_over: Option<usize>,
    states: Vec<State>,
    allow_unparseable_procs: bool,
    kill_matching: Option<Signal>,
    kill_matching_parents: Option<Signal>,
    verbose: u8,
}

Check that an expected number of processes are running.

Optionally, kill unwanted processes.

Fields

pattern: Option<Regex>crit_under: Option<usize>crit_over: Option<usize>states: Vec<State>allow_unparseable_procs: boolkill_matching: Option<Signal>kill_matching_parents: Option<Signal>verbose: u8

print debug logs, use multiple times to make it more verbose

Trait Implementations

impl Debug 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> 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.