pub struct SpShmOptions {
pub blocking: bool,
pub dir: Option<PathBuf>,
}Expand description
SHM attach options for the LaneGraph SP runtime.
If dir is set, each lane is backed by its own mmap file at
${dir}/${lane}.mmap (with basic sanitization applied).
Fields§
§blocking: boolWhether to prefer blocking waits (non-HFT mode).
dir: Option<PathBuf>Optional directory where per-lane mmap files should be created.
Implementations§
Source§impl SpShmOptions
impl SpShmOptions
Sourcepub fn lane_attach_options(&self, lane: &str) -> AttachOptions
pub fn lane_attach_options(&self, lane: &str) -> AttachOptions
Build backing attach options for a specific lane.
Trait Implementations§
Source§impl Clone for SpShmOptions
impl Clone for SpShmOptions
Source§fn clone(&self) -> SpShmOptions
fn clone(&self) -> SpShmOptions
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 SpShmOptions
impl Debug for SpShmOptions
Source§impl Default for SpShmOptions
impl Default for SpShmOptions
Source§fn default() -> SpShmOptions
fn default() -> SpShmOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SpShmOptions
impl RefUnwindSafe for SpShmOptions
impl Send for SpShmOptions
impl Sync for SpShmOptions
impl Unpin for SpShmOptions
impl UnwindSafe for SpShmOptions
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