pub struct QemuConfig {
pub qemu_path: String,
pub bios_path: String,
pub drives: Vec<QemuDriveConfig>,
pub additional_args: Vec<String>,
}
Expand description
Qemu run configuration
Fields§
§qemu_path: String
§bios_path: String
§drives: Vec<QemuDriveConfig>
§additional_args: Vec<String>
Implementations§
Source§impl QemuConfig
impl QemuConfig
Sourcepub fn run(&self) -> Result<QemuProcess>
pub fn run(&self) -> Result<QemuProcess>
Run an instance of qemu with the given config
Trait Implementations§
Source§impl Clone for QemuConfig
impl Clone for QemuConfig
Source§fn clone(&self) -> QemuConfig
fn clone(&self) -> QemuConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for QemuConfig
impl Debug for QemuConfig
Auto Trait Implementations§
impl Freeze for QemuConfig
impl RefUnwindSafe for QemuConfig
impl Send for QemuConfig
impl Sync for QemuConfig
impl Unpin for QemuConfig
impl UnwindSafe for QemuConfig
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