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>,
},
Btrfs {
fields: Option<Vec<BtrfsOptionField>>,
opts: GeneralOpt,
select: Option<BtrfsModelFieldId>,
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<SingleCgroupModelFieldId>,
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>,
},
EthtoolQueue {
fields: Option<Vec<EthtoolQueueOptionField>>,
opts: GeneralOpt,
pattern: Option<String>,
},
Tc {
fields: Option<Vec<TcOptionField>>,
opts: GeneralOpt,
pattern: Option<String>,
},
}
Variants§
System
Fields
fields: Option<Vec<SystemOptionField>>
Select which fields to display and in what order.
opts: GeneralOpt
Disk
Fields
fields: Option<Vec<DiskOptionField>>
Select which fields to display and in what order.
opts: GeneralOpt
select: Option<SingleDiskModelFieldId>
Select field for operation, use with –sort, –rsort, –filter, –top
Btrfs
Fields
fields: Option<Vec<BtrfsOptionField>>
Select which fields to display and in what order.
opts: GeneralOpt
select: Option<BtrfsModelFieldId>
Select field for operation, use with –sort, –rsort, –filter, –top
Process
Fields
fields: Option<Vec<ProcessOptionField>>
Select which fields to display and in what order.
opts: GeneralOpt
select: Option<SingleProcessModelFieldId>
Select field for operation, use with –sort, –rsort, –filter, –top
Cgroup
Fields
fields: Option<Vec<CgroupOptionField>>
Select which fields to display and in what order.
opts: GeneralOpt
select: Option<SingleCgroupModelFieldId>
Select field for operation, use with –sort, –rsort, –filter, –top
Iface
Fields
fields: Option<Vec<IfaceOptionField>>
Select which fields to display and in what order.
opts: GeneralOpt
select: Option<SingleNetModelFieldId>
Select field for operation, use with –filter
Network
Fields
fields: Option<Vec<NetworkOptionField>>
Select which fields to display and in what order.
opts: GeneralOpt
Transport
Fields
fields: Option<Vec<TransportOptionField>>
Select which fields to display and in what order.
opts: GeneralOpt
EthtoolQueue
Fields
fields: Option<Vec<EthtoolQueueOptionField>>
Select which fields to display and in what order.
opts: GeneralOpt
Tc
Fields
fields: Option<Vec<TcOptionField>>
Select which fields to display and in what order.
opts: GeneralOpt
Trait Implementations§
Source§impl Clone for DumpCommand
impl Clone for DumpCommand
Source§fn clone(&self) -> DumpCommand
fn clone(&self) -> DumpCommand
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl CommandFactory for DumpCommand
impl CommandFactory for DumpCommand
Source§impl Debug for DumpCommand
impl Debug for DumpCommand
Source§impl FromArgMatches for DumpCommand
impl FromArgMatches for DumpCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches
to self
.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches
to self
.Source§impl Parser for DumpCommand
impl Parser for DumpCommand
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Source§impl Subcommand for DumpCommand
impl Subcommand for DumpCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command
so it can instantiate self
via
FromArgMatches::update_from_arg_matches_mut
Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self
can parse a specific subcommand