pub struct QemuConfig {Show 17 fields
pub debug: String,
pub blk: String,
pub net: String,
pub mem: String,
pub graphic: String,
pub bus: String,
pub disk_img: String,
pub v9p: String,
pub v9p_path: String,
pub accel: String,
pub qemu_log: String,
pub net_dump: String,
pub net_dev: String,
pub ip: String,
pub gw: String,
pub args: String,
pub envs: String,
}Expand description
Struct descibing the qemu config of the local project
Fields§
§debug: String§blk: String§net: String§mem: String§graphic: String§bus: String§disk_img: String§v9p: String§v9p_path: String§accel: String§qemu_log: String§net_dump: String§net_dev: String§ip: String§gw: String§args: String§envs: StringImplementations§
Source§impl QemuConfig
impl QemuConfig
Sourcepub fn config_qemu(
&self,
platform_config: &PlatformConfig,
trgt: &Target<'_>,
) -> (Vec<String>, Vec<String>)
pub fn config_qemu( &self, platform_config: &PlatformConfig, trgt: &Target<'_>, ) -> (Vec<String>, Vec<String>)
This function is used to config qemu parameters when running on qemu
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QemuConfig
impl Debug for QemuConfig
Source§impl Default for QemuConfig
impl Default for QemuConfig
Source§fn default() -> QemuConfig
fn default() -> QemuConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for QemuConfig
impl PartialEq for QemuConfig
Source§impl Serialize for QemuConfig
impl Serialize for QemuConfig
impl StructuralPartialEq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more