Struct emu_cli::config_storage::XDGConfigStorage
source · pub struct XDGConfigStorage { /* private fields */ }Trait Implementations§
source§impl Clone for XDGConfigStorage
impl Clone for XDGConfigStorage
source§fn clone(&self) -> XDGConfigStorage
fn clone(&self) -> XDGConfigStorage
Returns a copy 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 ConfigStorageHandler for XDGConfigStorage
impl ConfigStorageHandler for XDGConfigStorage
fn rename(&self, old: &VM, new: &VM) -> Result<()>
fn vm_root(&self, vm: &VM) -> PathBuf
fn vm_list(&self) -> Result<Vec<VM>>
fn vm_path(&self, vm: &VM, filename: &str) -> PathBuf
fn vm_path_exists(&self, vm: &VM, filename: &str) -> bool
fn pidfile(&self, vm: &VM) -> PathBuf
fn base_path(&self) -> PathBuf
fn vm_exists(&self, vm: &VM) -> bool
fn disk_list(&self, vm: &VM) -> Result<Vec<PathBuf>>
fn config_path(&self, vm: &VM) -> PathBuf
fn monitor_path(&self, vm: &VM) -> PathBuf
fn write_config(&self, vm: VM) -> Result<()>
fn size(&self, vm: &VM) -> Result<usize>
source§impl Debug for XDGConfigStorage
impl Debug for XDGConfigStorage
Auto Trait Implementations§
impl RefUnwindSafe for XDGConfigStorage
impl Send for XDGConfigStorage
impl Sync for XDGConfigStorage
impl Unpin for XDGConfigStorage
impl UnwindSafe for XDGConfigStorage
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