pub struct SendWr { /* private fields */ }Expand description
Builder for a send work request.
Implementations§
Source§impl SendWr
impl SendWr
Sourcepub fn rdma(self, remote_addr: u64, rkey: u32) -> Self
pub fn rdma(self, remote_addr: u64, rkey: u32) -> Self
Set RDMA remote address and rkey (for RDMA read/write ops).
Sourcepub fn atomic(
self,
remote_addr: u64,
rkey: u32,
compare_add: u64,
swap: u64,
) -> Self
pub fn atomic( self, remote_addr: u64, rkey: u32, compare_add: u64, swap: u64, ) -> Self
Set atomic operation parameters (for CAS and FAA).
Sourcepub fn bind_mw(
self,
mw: *mut ibv_mw,
rkey: u32,
mr: *mut ibv_mr,
addr: u64,
length: u64,
access: u32,
) -> Self
pub fn bind_mw( self, mw: *mut ibv_mw, rkey: u32, mr: *mut ibv_mr, addr: u64, length: u64, access: u32, ) -> Self
Set Memory Window bind parameters (for BindMw opcode).
§Arguments
mw- Raw MW pointer to bindrkey- New rkey to assign to the MW after bindingmr- Raw MR pointer that the MW will be bound toaddr- Start address within the MRlength- Length of the bound regionaccess- Access flags for the MW binding
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SendWr
impl RefUnwindSafe for SendWr
impl !Sync for SendWr
impl Unpin for SendWr
impl UnsafeUnpin for SendWr
impl UnwindSafe for SendWr
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