pub struct AttachOptions {
pub blocking: bool,
pub prefault: bool,
pub path: Option<PathBuf>,
pub queue: usize,
}Expand description
Backing attach options.
Fields§
§blocking: boolWhether to prefer blocking waits (non-HFT mode).
prefault: boolWhether to prefault mapped pages on attach/open.
path: Option<PathBuf>Optional explicit backing file path.
queue: usizeQueue index for multi-queue layouts (e.g. EventsChainLayout<Q>).
Trait Implementations§
Source§impl Clone for AttachOptions
impl Clone for AttachOptions
Source§fn clone(&self) -> AttachOptions
fn clone(&self) -> AttachOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttachOptions
impl Debug for AttachOptions
Source§impl Default for AttachOptions
impl Default for AttachOptions
Source§fn default() -> AttachOptions
fn default() -> AttachOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AttachOptions
impl RefUnwindSafe for AttachOptions
impl Send for AttachOptions
impl Sync for AttachOptions
impl Unpin for AttachOptions
impl UnwindSafe for AttachOptions
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