pub struct VmVolume {
pub host: String,
pub guest: String,
pub size: String,
pub read_only: bool,
}Expand description
A volume to mount in the guest, backend-agnostic.
Fields§
§host: StringHost-side path or identifier.
guest: StringMount point inside the guest.
size: StringSize hint (e.g. “1G”). Backend may ignore.
read_only: boolMark the underlying drive read-only at the hypervisor level.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VmVolume
impl RefUnwindSafe for VmVolume
impl Send for VmVolume
impl Sync for VmVolume
impl Unpin for VmVolume
impl UnsafeUnpin for VmVolume
impl UnwindSafe for VmVolume
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