pub struct SharedDir {
pub host_path: PathBuf,
pub tag: String,
pub read_only: bool,
}Expand description
Host directory shared with guest via VirtioFS.
Fields§
§host_path: PathBufPath on the host.
tag: StringMount tag inside the guest.
read_only: boolRead-only mount.
Trait Implementations§
Auto Trait Implementations§
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