Enum emu_cli::command::ConfigSubcommand
source · pub enum ConfigSubcommand {
Show {
name: String,
},
Set {
name: String,
key: String,
value: String,
},
Copy {
from: String,
to: String,
},
Port(ConfigPortSubcommand),
}Variants§
Show
Show the written+inferred configuration for a VM
Set
Set a value int the configuration; type-safe
Copy
Copy settings from one VM to another
Port(ConfigPortSubcommand)
Adjust port mappings
Trait Implementations§
source§impl Clone for ConfigSubcommand
impl Clone for ConfigSubcommand
source§fn clone(&self) -> ConfigSubcommand
fn clone(&self) -> ConfigSubcommand
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 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
source§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 RefUnwindSafe for ConfigSubcommand
impl Send for ConfigSubcommand
impl Sync for ConfigSubcommand
impl Unpin 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