pub struct SupervisorConfig {
pub mount_root: PathBuf,
pub spool_dir: PathBuf,
pub read_only: bool,
pub unmount_timeout: Duration,
}Expand description
How the daemon mounts things.
Fields§
§mount_root: PathBufDirectory that holds one subdirectory per mounted device.
spool_dir: PathBufDisk-backed spool for write buffers and read caches (see crate::spool).
read_only: boolMount every device read-only.
unmount_timeout: DurationHow long to wait for a mount to actually leave the filesystem.
Implementations§
Auto Trait Implementations§
impl Freeze for SupervisorConfig
impl RefUnwindSafe for SupervisorConfig
impl Send for SupervisorConfig
impl Sync for SupervisorConfig
impl Unpin for SupervisorConfig
impl UnsafeUnpin for SupervisorConfig
impl UnwindSafe for SupervisorConfig
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