Enum below_dump::command::DumpCommand[][src]

pub enum DumpCommand {
    System {
        fields: Option<Vec<SystemOptionField>>,
        opts: GeneralOpt,
        pattern: Option<String>,
    },
    Disk {
        fields: Option<Vec<DiskOptionField>>,
        opts: GeneralOpt,
        select: Option<SingleDiskModelFieldId>,
        pattern: Option<String>,
    },
    Process {
        fields: Option<Vec<ProcessOptionField>>,
        opts: GeneralOpt,
        select: Option<SingleProcessModelFieldId>,
        pattern: Option<String>,
    },
    Cgroup {
        fields: Option<Vec<CgroupOptionField>>,
        opts: GeneralOpt,
        select: Option<CgroupModelFieldId>,
        pattern: Option<String>,
    },
    Iface {
        fields: Option<Vec<IfaceOptionField>>,
        opts: GeneralOpt,
        select: Option<SingleNetModelFieldId>,
        pattern: Option<String>,
    },
    Network {
        fields: Option<Vec<NetworkOptionField>>,
        opts: GeneralOpt,
        pattern: Option<String>,
    },
    Transport {
        fields: Option<Vec<TransportOptionField>>,
        opts: GeneralOpt,
        pattern: Option<String>,
    },
}

Variants

System
Show fields

Fields of System

fields: Option<Vec<SystemOptionField>>

Select which fields to display and in what order.

opts: GeneralOptpattern: Option<String>

Saved pattern in the dumprc file under [system] section.

Disk
Show fields

Fields of Disk

fields: Option<Vec<DiskOptionField>>

Select which fields to display and in what order.

opts: GeneralOptselect: Option<SingleDiskModelFieldId>

Select field for operation, use with –sort, –rsort, –filter, –top

pattern: Option<String>

Saved pattern in the dumprc file under [disk] section.

Process
Show fields

Fields of Process

fields: Option<Vec<ProcessOptionField>>

Select which fields to display and in what order.

opts: GeneralOptselect: Option<SingleProcessModelFieldId>

Select field for operation, use with –sort, –rsort, –filter, –top

pattern: Option<String>

Saved pattern in the dumprc file under [process] section.

Cgroup
Show fields

Fields of Cgroup

fields: Option<Vec<CgroupOptionField>>

Select which fields to display and in what order.

opts: GeneralOptselect: Option<CgroupModelFieldId>

Select field for operation, use with –sort, –rsort, –filter, –top

pattern: Option<String>

Saved pattern in the dumprc file under [cgroup] section.

Iface
Show fields

Fields of Iface

fields: Option<Vec<IfaceOptionField>>

Select which fields to display and in what order.

opts: GeneralOptselect: Option<SingleNetModelFieldId>

Select field for operation, use with –filter

pattern: Option<String>

Saved pattern in the dumprc file under [iface] section.

Network
Show fields

Fields of Network

fields: Option<Vec<NetworkOptionField>>

Select which fields to display and in what order.

opts: GeneralOptpattern: Option<String>

Saved pattern in the dumprc file under [network] section.

Transport
Show fields

Fields of Transport

fields: Option<Vec<TransportOptionField>>

Select which fields to display and in what order.

opts: GeneralOptpattern: Option<String>

Saved pattern in the dumprc file under [transport] section.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns clap::App corresponding to the struct.

Builds the struct from clap::ArgMatches. It’s guaranteed to succeed if matches originates from an App generated by StructOpt::clap called on the same type, otherwise it must panic. Read more

Builds the struct from the command line arguments (std::env::args_os). Calls clap::Error::exit on failure, printing the error message and aborting the program. Read more

Builds the struct from the command line arguments (std::env::args_os). Unlike StructOpt::from_args, returns clap::Error on failure instead of aborting the program, so calling .exit is up to you. Read more

Gets the struct from any iterator such as a Vec of your making. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Calls the given closure and return the result. Read more

Calls the given closure on self.

Calls the given closure on self.

Calls the given closure if condition == true.