pub struct VM { /* private fields */ }Implementations§
source§impl VM
impl VM
pub fn new(name: String, storage: Arc<Box<dyn ConfigStorageHandler>>) -> Self
pub fn set_headless(&mut self, headless: bool)
pub fn headless(&self) -> bool
pub fn name(&self) -> String
pub fn cdrom(&self) -> Option<PathBuf>
pub fn set_cdrom(&mut self, cdrom: PathBuf)
pub fn extra_disk(&self) -> Option<PathBuf>
pub fn set_extra_disk(&mut self, extra_disk: PathBuf)
pub fn config(&self) -> Configuration
pub fn supervisor(&self) -> Arc<Box<dyn SupervisorHandler>>
pub fn load_config(&mut self, storage: Arc<Box<dyn ConfigStorageHandler>>)
pub fn set_config(&mut self, config: Configuration)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for VM
impl Send for VM
impl Sync for VM
impl Unpin for VM
impl UnwindSafe for VM
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