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>,
},
}Variants§
System
Fields
§
fields: Option<Vec<SystemOptionField>>Select which fields to display and in what order.
§
opts: GeneralOptDisk
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: GeneralOptTransport
Fields
§
fields: Option<Vec<TransportOptionField>>Select which fields to display and in what order.
§
opts: GeneralOptEthtoolQueue
Fields
§
fields: Option<Vec<EthtoolQueueOptionField>>Select which fields to display and in what order.
§
opts: GeneralOptTrait Implementations§
Source§impl Clone for DumpCommand
impl Clone for DumpCommand
Source§fn clone(&self) -> DumpCommand
fn clone(&self) -> DumpCommand
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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>
Assign values from
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>
Assign values from
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
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on 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
Append to
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
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for DumpCommand
impl RefUnwindSafe for DumpCommand
impl Send for DumpCommand
impl Sync for DumpCommand
impl Unpin for DumpCommand
impl UnwindSafe for DumpCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more