pub struct RdmaTier { /* private fields */ }Implementations§
Source§impl RdmaTier
impl RdmaTier
Sourcepub fn connect(
addr: &str,
num_slabs: u32,
slots_per_slab: u32,
use_verbs: bool,
) -> Result<Self>
pub fn connect( addr: &str, num_slabs: u32, slots_per_slab: u32, use_verbs: bool, ) -> Result<Self>
Connect to a peer at addr, receive its manifest, allocate the arena, and
bring up the chosen transport. The peer’s ExpertIndex geometry defines
the record stride, so the arena matches the remote store exactly.
pub fn arena(&self) -> &ExpertArena
Trait Implementations§
Source§impl ExpertTier for RdmaTier
impl ExpertTier for RdmaTier
Source§fn healthy(&self) -> bool
fn healthy(&self) -> bool
Link health: false after any transport error so the streamer can fall back to the local NVMe UMA tier (graceful degradation on CX7 flap).
fn fetch( &mut self, key: ExpertKey, slot: ArenaSlot, _stream: u64, ) -> Result<ExpertResidency>
fn kind(&self) -> TierKind
Auto Trait Implementations§
impl Freeze for RdmaTier
impl RefUnwindSafe for RdmaTier
impl Send for RdmaTier
impl Sync for RdmaTier
impl Unpin for RdmaTier
impl UnwindSafe for RdmaTier
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