pub struct FsConfig {
pub tag: String,
pub source: String,
pub num_threads: usize,
pub writeback_cache: bool,
pub cache_timeout: u64,
}Expand description
Filesystem configuration.
Fields§
§tag: StringTag for virtiofs mount.
source: StringHost directory to share.
num_threads: usizeNumber of worker threads.
writeback_cache: boolEnable writeback caching.
cache_timeout: u64Cache timeout for directory entries (seconds).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FsConfig
impl RefUnwindSafe for FsConfig
impl Send for FsConfig
impl Sync for FsConfig
impl Unpin for FsConfig
impl UnsafeUnpin for FsConfig
impl UnwindSafe for FsConfig
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