Enum qemu_plugin::install::Value
source · pub enum Value {
Bool(bool),
Integer(i64),
String(String),
}
Expand description
A value passed to a QEMU plugin via the command line
Variants§
Bool(bool)
A boolean argument to a QEMU plugin, for example val=true
or val=on
see https://www.qemu.org/docs/master/devel/tcg-plugins.html#c.qemu_plugin_bool_parse
Integer(i64)
An integer argument to a QEMU plugin, for example val=1
String(String)
A string argument to a QEMU plugin, for example val=foo
Auto Trait Implementations§
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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