pub struct MountConfig {
pub template: String,
pub fallbacks: BTreeMap<String, String>,
pub default_fallback: String,
pub mode: Mode,
pub poll_interval: Duration,
pub case_insensitive: bool,
}Expand description
Per-mount configuration for rendering the virtual hierarchy.
Fields§
§template: String§fallbacks: BTreeMap<String, String>§default_fallback: String§mode: Mode§poll_interval: DurationMinimum time between data_version polls; a metadata-op storm within this
window skips the poll entirely. Duration::ZERO disables debouncing.
case_insensitive: boolCompare filenames case-insensitively (dirs merge, files disambiguate).
Set by the CLI (--case-insensitive), default true on macOS.
Trait Implementations§
Source§impl Clone for MountConfig
impl Clone for MountConfig
Source§fn clone(&self) -> MountConfig
fn clone(&self) -> MountConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MountConfig
impl RefUnwindSafe for MountConfig
impl Send for MountConfig
impl Sync for MountConfig
impl Unpin for MountConfig
impl UnsafeUnpin for MountConfig
impl UnwindSafe for MountConfig
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