pub struct RdmaSnapshotArena;Expand description
2026-09-25: Stand-in when RDMA verbs or CUDA are not built. Both constructors fail; the other methods panic.
Implementations§
Source§impl RdmaSnapshotArena
impl RdmaSnapshotArena
pub fn connect( _addr: &str, _arena_bytes: u64, _blob_bytes: usize, ) -> Result<Self>
pub fn connect_paging( _addr: &str, _arena_bytes: u64, _blob_bytes: usize, ) -> Result<Self>
pub fn write(&self, _offset: u64, _bytes: &[u8]) -> Result<()>
pub fn read(&self, _offset: u64, _out: &mut [u8]) -> Result<()>
pub fn paging_put(&self, _key: u64, _bytes: &[u8]) -> Result<()>
pub fn paging_get(&self, _key: u64, _out: &mut [u8]) -> Result<bool>
pub fn paging_remove(&self, _key: u64) -> Result<()>
Auto Trait Implementations§
impl Freeze for RdmaSnapshotArena
impl RefUnwindSafe for RdmaSnapshotArena
impl Send for RdmaSnapshotArena
impl Sync for RdmaSnapshotArena
impl Unpin for RdmaSnapshotArena
impl UnwindSafe for RdmaSnapshotArena
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