pub enum CrossPlatformCommands {
Show 24 variants
Balloon(BalloonCommand),
BalloonStats(BalloonStatsCommand),
BalloonWs(BalloonWsCommand),
Battery(BatteryCommand),
CreateComposite(CreateCompositeCommand),
CreateQcow2(CreateQcow2Command),
Device(DeviceCommand),
Disk(DiskCommand),
Gpu(GpuCommand),
Snd(SndCommand),
MakeRT(MakeRTCommand),
Resume(ResumeCommand),
Run(RunCommand),
Stop(StopCommand),
Suspend(SuspendCommand),
Swap(SwapCommand),
Powerbtn(PowerbtnCommand),
Sleepbtn(SleepCommand),
Gpe(GpeCommand),
Usb(UsbCommand),
Version(VersionCommand),
Vfio(VfioCrosvmCommand),
VirtioNet(VirtioNetCommand),
Snapshot(SnapshotCommand),
}Variants§
Balloon(BalloonCommand)
BalloonStats(BalloonStatsCommand)
BalloonWs(BalloonWsCommand)
Battery(BatteryCommand)
CreateComposite(CreateCompositeCommand)
CreateQcow2(CreateQcow2Command)
Device(DeviceCommand)
Disk(DiskCommand)
Gpu(GpuCommand)
Snd(SndCommand)
MakeRT(MakeRTCommand)
Resume(ResumeCommand)
Run(RunCommand)
Stop(StopCommand)
Suspend(SuspendCommand)
Swap(SwapCommand)
Powerbtn(PowerbtnCommand)
Sleepbtn(SleepCommand)
Gpe(GpeCommand)
Usb(UsbCommand)
Version(VersionCommand)
Vfio(VfioCrosvmCommand)
VirtioNet(VirtioNetCommand)
Snapshot(SnapshotCommand)
Trait Implementations§
Source§impl FromArgs for CrossPlatformCommands
impl FromArgs for CrossPlatformCommands
Source§fn from_args(command_name: &[&str], args: &[&str]) -> Result<Self, EarlyExit>
fn from_args(command_name: &[&str], args: &[&str]) -> Result<Self, EarlyExit>
Construct the type from an input set of arguments. Read more
Source§fn redact_arg_values(
command_name: &[&str],
args: &[&str],
) -> Result<Vec<String>, EarlyExit>
fn redact_arg_values( command_name: &[&str], args: &[&str], ) -> Result<Vec<String>, EarlyExit>
Get a String with just the argument names, e.g., options, flags, subcommands, etc, but
without the values of the options and arguments. This can be useful as a means to capture
anonymous usage statistics without revealing the content entered by the end user. Read more
Source§impl SubCommands for CrossPlatformCommands
impl SubCommands for CrossPlatformCommands
§fn dynamic_commands() -> &'static [&'static CommandInfo<'static>]
fn dynamic_commands() -> &'static [&'static CommandInfo<'static>]
Get a list of commands that are discovered at runtime.
Auto Trait Implementations§
impl Freeze for CrossPlatformCommands
impl RefUnwindSafe for CrossPlatformCommands
impl Send for CrossPlatformCommands
impl Sync for CrossPlatformCommands
impl Unpin for CrossPlatformCommands
impl UnwindSafe for CrossPlatformCommands
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