pub struct CmQueuePair { /* private fields */ }Expand description
A Queue Pair created via rdma_create_qp on a CmId.
Owns the QP lifecycle. Drop calls rdma_destroy_qp.
Captures Arc references to PD and CQs to prevent premature destruction
of resources the QP depends on.
§Teardown
Must be dropped before the CmId that created it (since
rdma_destroy_id requires the QP to be destroyed first). When used
inside [AsyncQp], field declaration order guarantees this.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CmQueuePair
impl RefUnwindSafe for CmQueuePair
impl Unpin for CmQueuePair
impl UnsafeUnpin for CmQueuePair
impl UnwindSafe for CmQueuePair
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