pub struct PostRecvGuard<'qp> { /* private fields */ }Expand description
A PostRecvGuard that can be used to construct and post recv RDMA Work Requests.
Implementations§
Source§impl<'qp> PostRecvGuard<'qp>
impl<'qp> PostRecvGuard<'qp>
Sourcepub fn construct_wr<'g>(
&'g mut self,
wr_id: u64,
) -> RecvWorkRequestHandle<'g, 'qp>
pub fn construct_wr<'g>( &'g mut self, wr_id: u64, ) -> RecvWorkRequestHandle<'g, 'qp>
Construct a new RecvWorkRequestHandle for setting up a new RDMA Work Request, every
QueuePair should hold only one RecvWorkRequestHandle at the same time.
pub fn post(self) -> Result<(), PostRecvError>
Auto Trait Implementations§
impl<'qp> Freeze for PostRecvGuard<'qp>
impl<'qp> RefUnwindSafe for PostRecvGuard<'qp>
impl<'qp> !Send for PostRecvGuard<'qp>
impl<'qp> !Sync for PostRecvGuard<'qp>
impl<'qp> Unpin for PostRecvGuard<'qp>
impl<'qp> UnsafeUnpin for PostRecvGuard<'qp>
impl<'qp> UnwindSafe for PostRecvGuard<'qp>
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