pub struct QemuInstanceBase<Machine, Cpu> {Show 108 fields
pub qemu_binary: PathBuf,
pub machine: Option<Machine>,
pub cpu: Option<Cpu>,
pub accel: Option<Accel>,
pub smp: Option<SMP>,
pub numa: Option<Vec<NUMA>>,
pub add_fd: Option<AddFd>,
pub set: Option<Vec<Set>>,
pub global: Option<Vec<Global>>,
pub boot: Option<Boot>,
pub m: Option<Memory>,
pub mem_path: Option<PathBuf>,
pub mem_prealloc: Option<bool>,
pub k: Option<String>,
pub audio: Option<Audio>,
pub audiodev: Option<AudioDev>,
pub device: Option<Vec<Device>>,
pub name: Option<Name>,
pub uuid: Option<TypedUuid<QUuid>>,
pub fda: Option<PathBuf>,
pub fdb: Option<PathBuf>,
pub hda: Option<PathBuf>,
pub hdb: Option<PathBuf>,
pub hdc: Option<PathBuf>,
pub hdd: Option<PathBuf>,
pub cdrom: Option<PathBuf>,
pub blockdev: Option<Vec<BlockDev>>,
pub drive: Option<Vec<Drive>>,
pub mdtblock: Option<PathBuf>,
pub sd: Option<PathBuf>,
pub snapshot: Option<bool>,
pub fsdev: Option<FsDev>,
pub virtfs: Option<Virtfs>,
pub iscsi: Option<Iscsi>,
pub usb: Option<bool>,
pub usbdevice: Option<USBDevice>,
pub display: Option<QemuDisplay>,
pub nographic: Option<bool>,
pub spice: Option<Spice>,
pub vga: Option<VGA>,
pub full_screen: Option<bool>,
pub g: Option<G>,
pub vnc: Option<VNC>,
pub win2k_hack: Option<bool>,
pub no_fd_bootchk: Option<bool>,
pub acpitable: Option<AcpiTable>,
pub smbios: Option<Vec<Smbios>>,
pub netdev: Option<Vec<NetDev>>,
pub chardev: Option<Vec<CharDev>>,
pub tpmdev: Option<TpmDev>,
pub bios: Option<PathBuf>,
pub pflash: Option<PathBuf>,
pub kernel: Option<PathBuf>,
pub shim: Option<PathBuf>,
pub append: Option<ShellString>,
pub initrd: Option<PathBuf>,
pub dtb: Option<PathBuf>,
pub compact: Option<Compact>,
pub fw_cfg: Option<FwCfg>,
pub serial: Option<SpecialDevice>,
pub parallel: Option<Vec<SpecialDevice>>,
pub monitor: Option<SpecialDevice>,
pub qmp: Option<SpecialDevice>,
pub qmp_pretty: Option<SpecialDevice>,
pub mon: Option<Vec<Mon>>,
pub debugcon: Option<CharDev>,
pub pidfile: Option<PathBuf>,
pub preconfig: Option<bool>,
pub big_s: Option<bool>,
pub overcommit: Option<Overcommit>,
pub gdb: Option<SpecialDevice>,
pub s: Option<bool>,
pub d: Option<Vec<String>>,
pub big_d: Option<PathBuf>,
pub dfilter: Option<Vec<String>>,
pub seed: Option<usize>,
pub big_l: Option<PathBuf>,
pub enable_kvm: Option<bool>,
pub xen_id: Option<String>,
pub xen_attach: Option<bool>,
pub xen_domid_restrict: Option<bool>,
pub no_reboot: Option<bool>,
pub no_shutdown: Option<bool>,
pub action: Option<Action>,
pub loadvm: Option<String>,
pub daemonize: Option<bool>,
pub option_rom: Option<PathBuf>,
pub rtc: Option<Rtc>,
pub icount: Option<Icount>,
pub watchdog_action: Option<WatchdogAction>,
pub echr: Option<String>,
pub incoming: Option<Vec<Incoming>>,
pub only_migratable: Option<bool>,
pub nodefaults: Option<bool>,
pub sandbox: Option<Sandbox>,
pub readconfig: Option<PathBuf>,
pub no_user_config: Option<bool>,
pub trace: Option<Trace>,
pub plugin: Option<Plugin>,
pub run_with: Option<RunWith>,
pub runas: Option<String>,
pub chroot: Option<PathBuf>,
pub msg: Option<Msg>,
pub dump_vmstate: Option<PathBuf>,
pub enable_sync_profile: Option<bool>,
pub perfmap: Option<PathBuf>,
pub jitdump: Option<PathBuf>,
pub object: Option<Vec<Object>>,
}Fields§
§qemu_binary: PathBuf§machine: Option<Machine>§cpu: Option<Cpu>§accel: Option<Accel>§smp: Option<SMP>§numa: Option<Vec<NUMA>>§add_fd: Option<AddFd>§set: Option<Vec<Set>>§global: Option<Vec<Global>>§boot: Option<Boot>§m: Option<Memory>§mem_path: Option<PathBuf>§mem_prealloc: Option<bool>§k: Option<String>§audio: Option<Audio>§audiodev: Option<AudioDev>§device: Option<Vec<Device>>§name: Option<Name>§uuid: Option<TypedUuid<QUuid>>§fda: Option<PathBuf>§fdb: Option<PathBuf>§hda: Option<PathBuf>§hdb: Option<PathBuf>§hdc: Option<PathBuf>§hdd: Option<PathBuf>§cdrom: Option<PathBuf>§blockdev: Option<Vec<BlockDev>>§drive: Option<Vec<Drive>>§mdtblock: Option<PathBuf>§sd: Option<PathBuf>§snapshot: Option<bool>§fsdev: Option<FsDev>§virtfs: Option<Virtfs>§iscsi: Option<Iscsi>§usb: Option<bool>§usbdevice: Option<USBDevice>§display: Option<QemuDisplay>§nographic: Option<bool>§spice: Option<Spice>§vga: Option<VGA>§full_screen: Option<bool>§g: Option<G>§vnc: Option<VNC>§win2k_hack: Option<bool>§no_fd_bootchk: Option<bool>§acpitable: Option<AcpiTable>§smbios: Option<Vec<Smbios>>§netdev: Option<Vec<NetDev>>§chardev: Option<Vec<CharDev>>§tpmdev: Option<TpmDev>§bios: Option<PathBuf>§pflash: Option<PathBuf>§kernel: Option<PathBuf>§shim: Option<PathBuf>§append: Option<ShellString>§initrd: Option<PathBuf>§dtb: Option<PathBuf>§compact: Option<Compact>§fw_cfg: Option<FwCfg>§serial: Option<SpecialDevice>§parallel: Option<Vec<SpecialDevice>>§monitor: Option<SpecialDevice>§qmp: Option<SpecialDevice>§qmp_pretty: Option<SpecialDevice>§mon: Option<Vec<Mon>>§debugcon: Option<CharDev>§pidfile: Option<PathBuf>§preconfig: Option<bool>§big_s: Option<bool>§overcommit: Option<Overcommit>§gdb: Option<SpecialDevice>§s: Option<bool>§d: Option<Vec<String>>§big_d: Option<PathBuf>§dfilter: Option<Vec<String>>§seed: Option<usize>§big_l: Option<PathBuf>§enable_kvm: Option<bool>§xen_id: Option<String>§xen_attach: Option<bool>§xen_domid_restrict: Option<bool>§no_reboot: Option<bool>§no_shutdown: Option<bool>§action: Option<Action>§loadvm: Option<String>§daemonize: Option<bool>§option_rom: Option<PathBuf>§rtc: Option<Rtc>§icount: Option<Icount>§watchdog_action: Option<WatchdogAction>§echr: Option<String>§incoming: Option<Vec<Incoming>>§only_migratable: Option<bool>§nodefaults: Option<bool>§sandbox: Option<Sandbox>§readconfig: Option<PathBuf>§no_user_config: Option<bool>§trace: Option<Trace>§plugin: Option<Plugin>§run_with: Option<RunWith>§runas: Option<String>§chroot: Option<PathBuf>§msg: Option<Msg>§dump_vmstate: Option<PathBuf>§enable_sync_profile: Option<bool>§perfmap: Option<PathBuf>§jitdump: Option<PathBuf>§object: Option<Vec<Object>>Implementations§
Source§impl<Machine, Cpu> QemuInstanceBase<Machine, Cpu>
impl<Machine, Cpu> QemuInstanceBase<Machine, Cpu>
Sourcepub fn builder() -> QemuInstanceBaseBuilder<Machine, Cpu>
pub fn builder() -> QemuInstanceBaseBuilder<Machine, Cpu>
Create an instance of QemuInstanceBase using the builder syntax
Trait Implementations§
Source§impl<Machine: Arbitrary, Cpu: Arbitrary> Arbitrary for QemuInstanceBase<Machine, Cpu>
impl<Machine: Arbitrary, Cpu: Arbitrary> Arbitrary for QemuInstanceBase<Machine, Cpu>
Source§type Parameters = (<PathBuf as Arbitrary>::Parameters, <Option<Machine> as Arbitrary>::Parameters, <Option<Cpu> as Arbitrary>::Parameters, <Option<Accel> as Arbitrary>::Parameters, <Option<SMP> as Arbitrary>::Parameters, <Option<Vec<NUMA>> as Arbitrary>::Parameters, <Option<AddFd> as Arbitrary>::Parameters, <Option<Vec<Set>> as Arbitrary>::Parameters, <Option<Vec<Global>> as Arbitrary>::Parameters, (<Option<Boot> as Arbitrary>::Parameters, <Option<Memory> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<Audio> as Arbitrary>::Parameters, <Option<AudioDev> as Arbitrary>::Parameters, <Option<Vec<Device>> as Arbitrary>::Parameters, <Option<Name> as Arbitrary>::Parameters, (<Option<TypedUuid<QUuid>> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<Vec<BlockDev>> as Arbitrary>::Parameters, (<Option<Vec<Drive>> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<FsDev> as Arbitrary>::Parameters, <Option<Virtfs> as Arbitrary>::Parameters, <Option<Iscsi> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<USBDevice> as Arbitrary>::Parameters, (<Option<QemuDisplay> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<Spice> as Arbitrary>::Parameters, <Option<VGA> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<G> as Arbitrary>::Parameters, <Option<VNC> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, (<Option<AcpiTable> as Arbitrary>::Parameters, <Option<Vec<Smbios>> as Arbitrary>::Parameters, <Option<Vec<NetDev>> as Arbitrary>::Parameters, <Option<Vec<CharDev>> as Arbitrary>::Parameters, <Option<TpmDev> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, (<Option<ShellString> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<Compact> as Arbitrary>::Parameters, <Option<FwCfg> as Arbitrary>::Parameters, <Option<SpecialDevice> as Arbitrary>::Parameters, <Option<Vec<SpecialDevice>> as Arbitrary>::Parameters, <Option<SpecialDevice> as Arbitrary>::Parameters, <Option<SpecialDevice> as Arbitrary>::Parameters, (<Option<SpecialDevice> as Arbitrary>::Parameters, <Option<Vec<Mon>> as Arbitrary>::Parameters, <Option<CharDev> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<Overcommit> as Arbitrary>::Parameters, <Option<SpecialDevice> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, (<Option<Vec<String>> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<Vec<String>> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, (<Option<bool> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<Action> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<Rtc> as Arbitrary>::Parameters, <Option<Icount> as Arbitrary>::Parameters, <Option<WatchdogAction> as Arbitrary>::Parameters, (<Option<String> as Arbitrary>::Parameters, <Option<Vec<Incoming>> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<Sandbox> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<Trace> as Arbitrary>::Parameters, <Option<Plugin> as Arbitrary>::Parameters, (<Option<RunWith> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<Msg> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<Vec<Object>> as Arbitrary>::Parameters))))))))))))
type Parameters = (<PathBuf as Arbitrary>::Parameters, <Option<Machine> as Arbitrary>::Parameters, <Option<Cpu> as Arbitrary>::Parameters, <Option<Accel> as Arbitrary>::Parameters, <Option<SMP> as Arbitrary>::Parameters, <Option<Vec<NUMA>> as Arbitrary>::Parameters, <Option<AddFd> as Arbitrary>::Parameters, <Option<Vec<Set>> as Arbitrary>::Parameters, <Option<Vec<Global>> as Arbitrary>::Parameters, (<Option<Boot> as Arbitrary>::Parameters, <Option<Memory> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<Audio> as Arbitrary>::Parameters, <Option<AudioDev> as Arbitrary>::Parameters, <Option<Vec<Device>> as Arbitrary>::Parameters, <Option<Name> as Arbitrary>::Parameters, (<Option<TypedUuid<QUuid>> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<Vec<BlockDev>> as Arbitrary>::Parameters, (<Option<Vec<Drive>> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<FsDev> as Arbitrary>::Parameters, <Option<Virtfs> as Arbitrary>::Parameters, <Option<Iscsi> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<USBDevice> as Arbitrary>::Parameters, (<Option<QemuDisplay> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<Spice> as Arbitrary>::Parameters, <Option<VGA> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<G> as Arbitrary>::Parameters, <Option<VNC> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, (<Option<AcpiTable> as Arbitrary>::Parameters, <Option<Vec<Smbios>> as Arbitrary>::Parameters, <Option<Vec<NetDev>> as Arbitrary>::Parameters, <Option<Vec<CharDev>> as Arbitrary>::Parameters, <Option<TpmDev> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, (<Option<ShellString> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<Compact> as Arbitrary>::Parameters, <Option<FwCfg> as Arbitrary>::Parameters, <Option<SpecialDevice> as Arbitrary>::Parameters, <Option<Vec<SpecialDevice>> as Arbitrary>::Parameters, <Option<SpecialDevice> as Arbitrary>::Parameters, <Option<SpecialDevice> as Arbitrary>::Parameters, (<Option<SpecialDevice> as Arbitrary>::Parameters, <Option<Vec<Mon>> as Arbitrary>::Parameters, <Option<CharDev> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<Overcommit> as Arbitrary>::Parameters, <Option<SpecialDevice> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, (<Option<Vec<String>> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<Vec<String>> as Arbitrary>::Parameters, <Option<usize> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, (<Option<bool> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<Action> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<Rtc> as Arbitrary>::Parameters, <Option<Icount> as Arbitrary>::Parameters, <Option<WatchdogAction> as Arbitrary>::Parameters, (<Option<String> as Arbitrary>::Parameters, <Option<Vec<Incoming>> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<Sandbox> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<Trace> as Arbitrary>::Parameters, <Option<Plugin> as Arbitrary>::Parameters, (<Option<RunWith> as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<Msg> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<bool> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<Vec<Object>> as Arbitrary>::Parameters))))))))))))
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<PathBuf as Arbitrary>::Strategy, <Option<Machine> as Arbitrary>::Strategy, <Option<Cpu> as Arbitrary>::Strategy, <Option<Accel> as Arbitrary>::Strategy, <Option<SMP> as Arbitrary>::Strategy, <Option<Vec<NUMA>> as Arbitrary>::Strategy, <Option<AddFd> as Arbitrary>::Strategy, <Option<Vec<Set>> as Arbitrary>::Strategy, <Option<Vec<Global>> as Arbitrary>::Strategy, (<Option<Boot> as Arbitrary>::Strategy, <Option<Memory> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<Audio> as Arbitrary>::Strategy, <Option<AudioDev> as Arbitrary>::Strategy, <Option<Vec<Device>> as Arbitrary>::Strategy, <Option<Name> as Arbitrary>::Strategy, (<Option<TypedUuid<QUuid>> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<Vec<BlockDev>> as Arbitrary>::Strategy, (<Option<Vec<Drive>> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<FsDev> as Arbitrary>::Strategy, <Option<Virtfs> as Arbitrary>::Strategy, <Option<Iscsi> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<USBDevice> as Arbitrary>::Strategy, (<Option<QemuDisplay> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<Spice> as Arbitrary>::Strategy, <Option<VGA> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<G> as Arbitrary>::Strategy, <Option<VNC> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, (<Option<AcpiTable> as Arbitrary>::Strategy, <Option<Vec<Smbios>> as Arbitrary>::Strategy, <Option<Vec<NetDev>> as Arbitrary>::Strategy, <Option<Vec<CharDev>> as Arbitrary>::Strategy, <Option<TpmDev> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, (<Option<ShellString> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<Compact> as Arbitrary>::Strategy, <Option<FwCfg> as Arbitrary>::Strategy, <Option<SpecialDevice> as Arbitrary>::Strategy, <Option<Vec<SpecialDevice>> as Arbitrary>::Strategy, <Option<SpecialDevice> as Arbitrary>::Strategy, <Option<SpecialDevice> as Arbitrary>::Strategy, (<Option<SpecialDevice> as Arbitrary>::Strategy, <Option<Vec<Mon>> as Arbitrary>::Strategy, <Option<CharDev> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<Overcommit> as Arbitrary>::Strategy, <Option<SpecialDevice> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, (<Option<Vec<String>> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<Vec<String>> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, (<Option<bool> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<Action> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<Rtc> as Arbitrary>::Strategy, <Option<Icount> as Arbitrary>::Strategy, <Option<WatchdogAction> as Arbitrary>::Strategy, (<Option<String> as Arbitrary>::Strategy, <Option<Vec<Incoming>> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<Sandbox> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<Trace> as Arbitrary>::Strategy, <Option<Plugin> as Arbitrary>::Strategy, (<Option<RunWith> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<Msg> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<Vec<Object>> as Arbitrary>::Strategy)))))))))))), fn((PathBuf, Option<Machine>, Option<Cpu>, Option<Accel>, Option<SMP>, Option<Vec<NUMA>>, Option<AddFd>, Option<Vec<Set>>, Option<Vec<Global>>, (Option<Boot>, Option<Memory>, Option<PathBuf>, Option<bool>, Option<String>, Option<Audio>, Option<AudioDev>, Option<Vec<Device>>, Option<Name>, (Option<TypedUuid<QUuid>>, Option<PathBuf>, Option<PathBuf>, Option<PathBuf>, Option<PathBuf>, Option<PathBuf>, Option<PathBuf>, Option<PathBuf>, Option<Vec<BlockDev>>, (Option<Vec<Drive>>, Option<PathBuf>, Option<PathBuf>, Option<bool>, Option<FsDev>, Option<Virtfs>, Option<Iscsi>, Option<bool>, Option<USBDevice>, (Option<QemuDisplay>, Option<bool>, Option<Spice>, Option<VGA>, Option<bool>, Option<G>, Option<VNC>, Option<bool>, Option<bool>, (Option<AcpiTable>, Option<Vec<Smbios>>, Option<Vec<NetDev>>, Option<Vec<CharDev>>, Option<TpmDev>, Option<PathBuf>, Option<PathBuf>, Option<PathBuf>, Option<PathBuf>, (Option<ShellString>, Option<PathBuf>, Option<PathBuf>, Option<Compact>, Option<FwCfg>, Option<SpecialDevice>, Option<Vec<SpecialDevice>>, Option<SpecialDevice>, Option<SpecialDevice>, (Option<SpecialDevice>, Option<Vec<Mon>>, Option<CharDev>, Option<PathBuf>, Option<bool>, Option<bool>, Option<Overcommit>, Option<SpecialDevice>, Option<bool>, (Option<Vec<String>>, Option<PathBuf>, Option<Vec<String>>, Option<usize>, Option<PathBuf>, Option<bool>, Option<String>, Option<bool>, Option<bool>, (Option<bool>, Option<bool>, Option<Action>, Option<String>, Option<bool>, Option<PathBuf>, Option<Rtc>, Option<Icount>, Option<WatchdogAction>, (Option<String>, Option<Vec<Incoming>>, Option<bool>, Option<bool>, Option<Sandbox>, Option<PathBuf>, Option<bool>, Option<Trace>, Option<Plugin>, (Option<RunWith>, Option<String>, Option<PathBuf>, Option<Msg>, Option<PathBuf>, Option<bool>, Option<PathBuf>, Option<PathBuf>, Option<Vec<Object>>))))))))))))) -> QemuInstanceBase<Machine, Cpu>>
type Strategy = Map<(<PathBuf as Arbitrary>::Strategy, <Option<Machine> as Arbitrary>::Strategy, <Option<Cpu> as Arbitrary>::Strategy, <Option<Accel> as Arbitrary>::Strategy, <Option<SMP> as Arbitrary>::Strategy, <Option<Vec<NUMA>> as Arbitrary>::Strategy, <Option<AddFd> as Arbitrary>::Strategy, <Option<Vec<Set>> as Arbitrary>::Strategy, <Option<Vec<Global>> as Arbitrary>::Strategy, (<Option<Boot> as Arbitrary>::Strategy, <Option<Memory> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<Audio> as Arbitrary>::Strategy, <Option<AudioDev> as Arbitrary>::Strategy, <Option<Vec<Device>> as Arbitrary>::Strategy, <Option<Name> as Arbitrary>::Strategy, (<Option<TypedUuid<QUuid>> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<Vec<BlockDev>> as Arbitrary>::Strategy, (<Option<Vec<Drive>> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<FsDev> as Arbitrary>::Strategy, <Option<Virtfs> as Arbitrary>::Strategy, <Option<Iscsi> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<USBDevice> as Arbitrary>::Strategy, (<Option<QemuDisplay> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<Spice> as Arbitrary>::Strategy, <Option<VGA> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<G> as Arbitrary>::Strategy, <Option<VNC> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, (<Option<AcpiTable> as Arbitrary>::Strategy, <Option<Vec<Smbios>> as Arbitrary>::Strategy, <Option<Vec<NetDev>> as Arbitrary>::Strategy, <Option<Vec<CharDev>> as Arbitrary>::Strategy, <Option<TpmDev> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, (<Option<ShellString> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<Compact> as Arbitrary>::Strategy, <Option<FwCfg> as Arbitrary>::Strategy, <Option<SpecialDevice> as Arbitrary>::Strategy, <Option<Vec<SpecialDevice>> as Arbitrary>::Strategy, <Option<SpecialDevice> as Arbitrary>::Strategy, <Option<SpecialDevice> as Arbitrary>::Strategy, (<Option<SpecialDevice> as Arbitrary>::Strategy, <Option<Vec<Mon>> as Arbitrary>::Strategy, <Option<CharDev> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<Overcommit> as Arbitrary>::Strategy, <Option<SpecialDevice> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, (<Option<Vec<String>> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<Vec<String>> as Arbitrary>::Strategy, <Option<usize> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, (<Option<bool> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<Action> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<Rtc> as Arbitrary>::Strategy, <Option<Icount> as Arbitrary>::Strategy, <Option<WatchdogAction> as Arbitrary>::Strategy, (<Option<String> as Arbitrary>::Strategy, <Option<Vec<Incoming>> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<Sandbox> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<Trace> as Arbitrary>::Strategy, <Option<Plugin> as Arbitrary>::Strategy, (<Option<RunWith> as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<Msg> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<bool> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<Vec<Object>> as Arbitrary>::Strategy)))))))))))), fn((PathBuf, Option<Machine>, Option<Cpu>, Option<Accel>, Option<SMP>, Option<Vec<NUMA>>, Option<AddFd>, Option<Vec<Set>>, Option<Vec<Global>>, (Option<Boot>, Option<Memory>, Option<PathBuf>, Option<bool>, Option<String>, Option<Audio>, Option<AudioDev>, Option<Vec<Device>>, Option<Name>, (Option<TypedUuid<QUuid>>, Option<PathBuf>, Option<PathBuf>, Option<PathBuf>, Option<PathBuf>, Option<PathBuf>, Option<PathBuf>, Option<PathBuf>, Option<Vec<BlockDev>>, (Option<Vec<Drive>>, Option<PathBuf>, Option<PathBuf>, Option<bool>, Option<FsDev>, Option<Virtfs>, Option<Iscsi>, Option<bool>, Option<USBDevice>, (Option<QemuDisplay>, Option<bool>, Option<Spice>, Option<VGA>, Option<bool>, Option<G>, Option<VNC>, Option<bool>, Option<bool>, (Option<AcpiTable>, Option<Vec<Smbios>>, Option<Vec<NetDev>>, Option<Vec<CharDev>>, Option<TpmDev>, Option<PathBuf>, Option<PathBuf>, Option<PathBuf>, Option<PathBuf>, (Option<ShellString>, Option<PathBuf>, Option<PathBuf>, Option<Compact>, Option<FwCfg>, Option<SpecialDevice>, Option<Vec<SpecialDevice>>, Option<SpecialDevice>, Option<SpecialDevice>, (Option<SpecialDevice>, Option<Vec<Mon>>, Option<CharDev>, Option<PathBuf>, Option<bool>, Option<bool>, Option<Overcommit>, Option<SpecialDevice>, Option<bool>, (Option<Vec<String>>, Option<PathBuf>, Option<Vec<String>>, Option<usize>, Option<PathBuf>, Option<bool>, Option<String>, Option<bool>, Option<bool>, (Option<bool>, Option<bool>, Option<Action>, Option<String>, Option<bool>, Option<PathBuf>, Option<Rtc>, Option<Icount>, Option<WatchdogAction>, (Option<String>, Option<Vec<Incoming>>, Option<bool>, Option<bool>, Option<Sandbox>, Option<PathBuf>, Option<bool>, Option<Trace>, Option<Plugin>, (Option<RunWith>, Option<String>, Option<PathBuf>, Option<Msg>, Option<PathBuf>, Option<bool>, Option<PathBuf>, Option<PathBuf>, Option<Vec<Object>>))))))))))))) -> QemuInstanceBase<Machine, Cpu>>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl<Machine: Clone, Cpu: Clone> Clone for QemuInstanceBase<Machine, Cpu>
impl<Machine: Clone, Cpu: Clone> Clone for QemuInstanceBase<Machine, Cpu>
Source§fn clone(&self) -> QemuInstanceBase<Machine, Cpu>
fn clone(&self) -> QemuInstanceBase<Machine, Cpu>
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<Machine: Ord, Cpu: Ord> Ord for QemuInstanceBase<Machine, Cpu>
impl<Machine: Ord, Cpu: Ord> Ord for QemuInstanceBase<Machine, Cpu>
Source§fn cmp(&self, other: &QemuInstanceBase<Machine, Cpu>) -> Ordering
fn cmp(&self, other: &QemuInstanceBase<Machine, Cpu>) -> 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<Machine: PartialEq, Cpu: PartialEq> PartialEq for QemuInstanceBase<Machine, Cpu>
impl<Machine: PartialEq, Cpu: PartialEq> PartialEq for QemuInstanceBase<Machine, Cpu>
Source§fn eq(&self, other: &QemuInstanceBase<Machine, Cpu>) -> bool
fn eq(&self, other: &QemuInstanceBase<Machine, Cpu>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<Machine: PartialOrd, Cpu: PartialOrd> PartialOrd for QemuInstanceBase<Machine, Cpu>
impl<Machine: PartialOrd, Cpu: PartialOrd> PartialOrd for QemuInstanceBase<Machine, Cpu>
Source§impl<Machine: ToCommand, Cpu: ToCommand> ToCommand for QemuInstanceBase<Machine, Cpu>where
QemuInstanceBase<Machine, Cpu>: FromStr,
impl<Machine: ToCommand, Cpu: ToCommand> ToCommand for QemuInstanceBase<Machine, Cpu>where
QemuInstanceBase<Machine, Cpu>: FromStr,
Source§fn command(&self) -> String
fn command(&self) -> String
Convert to a type suitable to pass to
std::process::Command::new()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()fn has_args(&self) -> bool
Source§fn to_command(&self) -> Vec<String>
fn to_command(&self) -> Vec<String>
Construct the full command in keep in pieces
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<Machine: Eq, Cpu: Eq> Eq for QemuInstanceBase<Machine, Cpu>
impl<Machine, Cpu> StructuralPartialEq for QemuInstanceBase<Machine, Cpu>
Auto Trait Implementations§
impl<Machine, Cpu> Freeze for QemuInstanceBase<Machine, Cpu>
impl<Machine, Cpu> RefUnwindSafe for QemuInstanceBase<Machine, Cpu>where
Machine: RefUnwindSafe,
Cpu: RefUnwindSafe,
impl<Machine, Cpu> Send for QemuInstanceBase<Machine, Cpu>
impl<Machine, Cpu> Sync for QemuInstanceBase<Machine, Cpu>
impl<Machine, Cpu> Unpin for QemuInstanceBase<Machine, Cpu>
impl<Machine, Cpu> UnsafeUnpin for QemuInstanceBase<Machine, Cpu>where
Machine: UnsafeUnpin,
Cpu: UnsafeUnpin,
impl<Machine, Cpu> UnwindSafe for QemuInstanceBase<Machine, Cpu>where
Machine: UnwindSafe,
Cpu: UnwindSafe,
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