pub struct CmEvent { /* private fields */ }Expand description
A CM event received from an EventChannel.
Must be acknowledged via ack (consumed on ack).
Implementations§
Source§impl CmEvent
impl CmEvent
Sourcepub fn event_type(&self) -> CmEventType
pub fn event_type(&self) -> CmEventType
The event type.
Sourcepub fn cm_id_raw(&self) -> *mut rdma_cm_id
pub fn cm_id_raw(&self) -> *mut rdma_cm_id
For ConnectRequest events, the CM ID of the new incoming connection.
The returned CmId is not owned — it must be accepted or rejected.
The caller takes ownership after accept.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CmEvent
impl RefUnwindSafe for CmEvent
impl !Sync for CmEvent
impl Unpin for CmEvent
impl UnsafeUnpin for CmEvent
impl UnwindSafe for CmEvent
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