Enum emu_cli::command::SnapshotSubcommand
source · pub enum SnapshotSubcommand {
Save {
name: String,
snapshot_name: String,
},
Delete {
name: String,
snapshot_name: String,
},
Load {
name: String,
snapshot_name: String,
},
}Variants§
Save
Fields
Save a snapshot for a VM
Delete
Fields
Delete an existing snapshot from a VM
Load
Fields
Load an existing snapshot from a VM into the current state
Trait Implementations§
source§impl Clone for SnapshotSubcommand
impl Clone for SnapshotSubcommand
source§fn clone(&self) -> SnapshotSubcommand
fn clone(&self) -> SnapshotSubcommand
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 SnapshotSubcommand
impl Debug for SnapshotSubcommand
source§impl FromArgMatches for SnapshotSubcommand
impl FromArgMatches for SnapshotSubcommand
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 SnapshotSubcommand
impl Subcommand for SnapshotSubcommand
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 SnapshotSubcommand
impl Send for SnapshotSubcommand
impl Sync for SnapshotSubcommand
impl Unpin for SnapshotSubcommand
impl UnwindSafe for SnapshotSubcommand
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