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,
pub read_ahead_budget: u64,
pub read_ahead_prefetch: bool,
pub skip_on_missing: 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.
read_ahead_budget: u64Global read-ahead RAM envelope in bytes. 0 disables read-ahead.
read_ahead_prefetch: boolEnable Phase-2 background prefetch threads. Off by default: Phase-1 read amplification carries the entire measured read-ahead win (#255); the prefetch threads add overhead without benefit on the backends tested.
skip_on_missing: boolDrop a track from the mount when a top-level template field is unresolved,
instead of substituting default_fallback. Per-field fallback chains and
[...] sections are unaffected. Set by the CLI (--skip-on-missing).
Trait Implementations§
Source§impl Clone for MountConfig
impl Clone for MountConfig
Source§fn clone(&self) -> MountConfig
fn clone(&self) -> MountConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more