Struct ibverbs_sys::ibv_qp[][src]

#[repr(C)]
pub struct ibv_qp {
Show 13 fields pub context: *mut ibv_context, pub qp_context: *mut c_void, pub pd: *mut ibv_pd, pub send_cq: *mut ibv_cq, pub recv_cq: *mut ibv_cq, pub srq: *mut ibv_srq, pub handle: u32, pub qp_num: u32, pub state: Type, pub qp_type: Type, pub mutex: pthread_mutex_t, pub cond: pthread_cond_t, pub events_completed: u32,
}

Fields

context: *mut ibv_contextqp_context: *mut c_voidpd: *mut ibv_pdsend_cq: *mut ibv_cqrecv_cq: *mut ibv_cqsrq: *mut ibv_srqhandle: u32qp_num: u32state: Typeqp_type: Typemutex: pthread_mutex_tcond: pthread_cond_tevents_completed: u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.