Struct check_disk::Args[][src]

pub(crate) struct Args {
    warn: f64,
    crit: f64,
    warn_inodes: f64,
    crit_inodes: f64,
    pattern: Option<String>,
    exclude_pattern: Option<String>,
    fs_type: Option<String>,
    exclude_type: Option<String>,
    info: bool,
    inaccessible_status: Option<Status>,
}

Check all mounted file systems for disk usage.

For some reason this check generally generates values that are between 1% and 3% higher than df, even though AFAICT we’re both just calling statvfs a bunch of times.

Fields

warn: f64crit: f64warn_inodes: f64crit_inodes: f64pattern: Option<String>exclude_pattern: Option<String>fs_type: Option<String>exclude_type: Option<String>info: boolinaccessible_status: Option<Status>

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.