pub struct Delivery {
pub cache: CachePolicy,
pub cache_path: Option<PathBuf>,
pub accept_partial: bool,
pub watch: Option<WatchDelivery>,
pub workers: Workers,
pub batch_size: usize,
pub order: ScanOrder,
}Expand description
How a request is carried out, which never changes what its answer says.
No Default, deliberately. Every field here is a decision its caller has already made,
and the cache policy is the one that decides whether an answer touches the filesystem
and whether it leaves a trace; a default one reads cache: Auto whatever the caller
asked for, which is exactly how the watch session came to validate against a cache
policy nobody had chosen and WatchCacheOnly became unreachable inside the engine
(fdu-i18y). A caller that wants the ordinary delivery names it.
Fields§
§cache: CachePolicyHow the snapshot cache may be used.
cache_path: Option<PathBuf>Where the snapshot for this root lives, or None for no cache at all.
accept_partial: boolWhether a partial answer is accepted as a success.
watch: Option<WatchDelivery>Whether the answer repeats as a watch, and how.
workers: WorkersDirectory and content reader workers.
batch_size: usizeMaximum operations in one scanner batch.
order: ScanOrderDirectory traversal scheduling.