pub enum QemuCommand {
X86_64(QemuInstanceBase<MachineX86_64, CpuX86>),
Aarch64(QemuInstanceBase<MachineAarch64, CpuAarch64>),
}Variants§
X86_64(QemuInstanceBase<MachineX86_64, CpuX86>)
Aarch64(QemuInstanceBase<MachineAarch64, CpuAarch64>)
Trait Implementations§
Source§impl Clone for QemuCommand
impl Clone for QemuCommand
Source§fn clone(&self) -> QemuCommand
fn clone(&self) -> QemuCommand
Returns a duplicate 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 QemuCommand
impl Debug for QemuCommand
Source§impl FromStr for QemuCommand
impl FromStr for QemuCommand
Source§impl Hash for QemuCommand
impl Hash for QemuCommand
Source§impl Ord for QemuCommand
impl Ord for QemuCommand
Source§fn cmp(&self, other: &QemuCommand) -> Ordering
fn cmp(&self, other: &QemuCommand) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for QemuCommand
impl PartialEq for QemuCommand
Source§impl PartialOrd for QemuCommand
impl PartialOrd for QemuCommand
Source§impl ToCommand for QemuCommand
impl ToCommand for QemuCommand
Source§fn to_args(&self) -> Vec<String>
fn to_args(&self) -> Vec<String>
Convert to a type suitable to pass to
std::process::Command::args()Source§fn to_command(&self) -> Vec<String>
fn to_command(&self) -> Vec<String>
Construct the full command in keep in pieces
fn has_args(&self) -> bool
Source§fn command(&self) -> String
fn command(&self) -> String
Convert to a type suitable to pass to
std::process::Command::new()Source§fn to_single_command(&self) -> String
fn to_single_command(&self) -> String
Construct the full command as a single
StringSource§fn to_single_arg(&self) -> String
fn to_single_arg(&self) -> String
Construct only the args as a single
Stringimpl Eq for QemuCommand
impl StructuralPartialEq for QemuCommand
Auto Trait Implementations§
impl Freeze for QemuCommand
impl RefUnwindSafe for QemuCommand
impl Send for QemuCommand
impl Sync for QemuCommand
impl Unpin for QemuCommand
impl UnsafeUnpin for QemuCommand
impl UnwindSafe for QemuCommand
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