pub enum SubvolumeSubcommand {
Create(SubvolumeCreateCommand),
Delete(SubvolumeDeleteCommand),
Snapshot(SubvolumeSnapshotCommand),
Show(SubvolumeShowCommand),
List(SubvolumeListCommand),
GetDefault(SubvolumeGetDefaultCommand),
SetDefault(SubvolumeSetDefaultCommand),
GetFlags(SubvolumeGetFlagsCommand),
SetFlags(SubvolumeSetFlagsCommand),
FindNew(SubvolumeFindNewCommand),
Sync(SubvolumeSyncCommand),
}Variants§
Create(SubvolumeCreateCommand)
Delete(SubvolumeDeleteCommand)
Snapshot(SubvolumeSnapshotCommand)
Show(SubvolumeShowCommand)
List(SubvolumeListCommand)
GetDefault(SubvolumeGetDefaultCommand)
SetDefault(SubvolumeSetDefaultCommand)
GetFlags(SubvolumeGetFlagsCommand)
SetFlags(SubvolumeSetFlagsCommand)
FindNew(SubvolumeFindNewCommand)
Sync(SubvolumeSyncCommand)
Trait Implementations§
Source§impl CommandFactory for SubvolumeSubcommand
impl CommandFactory for SubvolumeSubcommand
Source§impl Debug for SubvolumeSubcommand
impl Debug for SubvolumeSubcommand
Source§impl FromArgMatches for SubvolumeSubcommand
impl FromArgMatches for SubvolumeSubcommand
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 SubvolumeSubcommand
impl Parser for SubvolumeSubcommand
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 SubvolumeSubcommand
impl Subcommand for SubvolumeSubcommand
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 SubvolumeSubcommand
impl RefUnwindSafe for SubvolumeSubcommand
impl Send for SubvolumeSubcommand
impl Sync for SubvolumeSubcommand
impl Unpin for SubvolumeSubcommand
impl UnsafeUnpin for SubvolumeSubcommand
impl UnwindSafe for SubvolumeSubcommand
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