pub enum ConfigSubcommand {
Proxy {
value: Option<Proxy>,
},
Dir {
value: Option<String>,
},
Target {
value: Option<Target>,
},
Timeout {
value: Option<u64>,
},
Retry {
value: Option<u64>,
},
Upx {
value: Option<bool>,
},
Strip {
value: Option<bool>,
},
}Variants§
Proxy
View or set proxy configuration
Dir
View or set installation directory
Target
View or set target platform
Timeout
View or set network timeout in seconds
Retry
View or set retry count
Upx
View or set UPX compression
Strip
View or set strip debug symbols
Trait Implementations§
Source§impl Clone for ConfigSubcommand
impl Clone for ConfigSubcommand
Source§impl Debug for ConfigSubcommand
impl Debug for ConfigSubcommand
Source§impl FromArgMatches for ConfigSubcommand
impl FromArgMatches for ConfigSubcommand
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 Subcommand for ConfigSubcommand
impl Subcommand for ConfigSubcommand
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 ConfigSubcommand
impl RefUnwindSafe for ConfigSubcommand
impl Send for ConfigSubcommand
impl Sync for ConfigSubcommand
impl Unpin for ConfigSubcommand
impl UnsafeUnpin for ConfigSubcommand
impl UnwindSafe for ConfigSubcommand
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