Struct ibverbs::ffi::ibv_wq
[−]
[src]
#[repr(C)]pub struct ibv_wq { 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(_: *mut ibv_wq, _: *mut ibv_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_context
wq_context: *mut c_void
pd: *mut ibv_pd
cq: *mut ibv_cq
wq_num: u32
handle: u32
state: ibv_wq_state
wq_type: ibv_wq_type
post_recv: Option<unsafe extern "C" fn(_: *mut ibv_wq, _: *mut ibv_recv_wr, _: *mut *mut ibv_recv_wr) -> c_int>
mutex: pthread_mutex_t
cond: pthread_cond_t
events_completed: u32
comp_mask: u32
Trait Implementations
impl Debug for ibv_wq
[src]
impl Copy for ibv_wq
[src]
impl Clone for ibv_wq
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more