Struct ibverbs_sys::ibv_wq[][src]

#[repr(C)]
pub struct ibv_wq {
Show 13 fields pub context: *mut ibv_context, pub wq_context: *mut c_void, pub pd: *mut ibv_pd, pub cq: *mut ibv_cq, pub wq_num: u32, pub handle: u32, pub state: ibv_wq_state, pub wq_type: ibv_wq_type, pub post_recv: Option<unsafe extern "C" fn(current: *mut ibv_wq, recv_wr: *mut ibv_recv_wr, bad_recv_wr: *mut *mut ibv_recv_wr) -> c_int>, pub mutex: pthread_mutex_t, pub cond: pthread_cond_t, pub events_completed: u32, pub comp_mask: u32,
}

Fields

context: *mut ibv_contextwq_context: *mut c_voidpd: *mut ibv_pdcq: *mut ibv_cqwq_num: u32handle: u32state: ibv_wq_statewq_type: ibv_wq_typepost_recv: Option<unsafe extern "C" fn(current: *mut ibv_wq, recv_wr: *mut ibv_recv_wr, bad_recv_wr: *mut *mut ibv_recv_wr) -> c_int>mutex: pthread_mutex_tcond: pthread_cond_tevents_completed: u32comp_mask: 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.