pub struct MmapSlotArena { /* private fields */ }Expand description
SlotArena over the peer’s RDMA-registered mmap region (a raw base ptr).
The peer memcpys between an arena slot and the disk swap on spill/fault; the
client one-sided-RDMAs into/out of the same slots. The base VA is stable and
registered ONCE per rail — this NEVER re-registers (no MR churn).
SAFETY: base must point at a live mapping of at least num_slots * slot_bytes bytes, page-aligned (mmap guarantees this), outliving the arena.
(Peer-specific — deliberately NOT lifted into atlas-tier: the lifted crate
carries no unsafe raw-pointer arena types.)
Implementations§
Trait Implementations§
Source§impl SlotArena for MmapSlotArena
impl SlotArena for MmapSlotArena
impl Send for MmapSlotArena
Auto Trait Implementations§
impl Freeze for MmapSlotArena
impl RefUnwindSafe for MmapSlotArena
impl !Sync for MmapSlotArena
impl Unpin for MmapSlotArena
impl UnwindSafe for MmapSlotArena
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