byteor_pipeline_backings_shm/options.rs
1//! Backing attach options.
2
3use std::path::PathBuf;
4
5/// Backing attach options.
6#[derive(Clone, Debug, Default)]
7pub struct AttachOptions {
8 /// Whether to prefer blocking waits (non-HFT mode).
9 pub blocking: bool,
10
11 /// Whether to prefault mapped pages on attach/open.
12 pub prefault: bool,
13
14 /// Optional explicit backing file path.
15 pub path: Option<PathBuf>,
16
17 /// Queue index for multi-queue layouts (e.g. `EventsChainLayout<Q>`).
18 pub queue: usize,
19}