pub struct ShmSequencedSlots { /* private fields */ }Expand description
A shared handle to a mapped SequencedSlotsLayout4 region.
Implementations§
Source§impl ShmSequencedSlots
impl ShmSequencedSlots
Sourcepub fn attach(opts: &AttachOptions, lane: &str) -> Result<Self, BackingError>
pub fn attach(opts: &AttachOptions, lane: &str) -> Result<Self, BackingError>
Attach to a shared region (reusing the transport’s validation).
Sourcepub fn snapshot(&self) -> SingleRingSnapshot
pub fn snapshot(&self) -> SingleRingSnapshot
Snapshot cursor + gating sequences.
Sourcepub fn window_capacity(&self) -> u64
pub fn window_capacity(&self) -> u64
Effective maximum number of outstanding sequences before producer backpressure triggers.
This is currently min(INDEXBUS_QUEUE_CAPACITY, INDEXBUS_SLOTS_CAPACITY).
Trait Implementations§
impl Send for ShmSequencedSlots
impl Sync for ShmSequencedSlots
Auto Trait Implementations§
impl Freeze for ShmSequencedSlots
impl !RefUnwindSafe for ShmSequencedSlots
impl Unpin for ShmSequencedSlots
impl !UnwindSafe for ShmSequencedSlots
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