Struct ibverbs::ffi::ibv_cq_ex
[−]
[src]
#[repr(C)]pub struct ibv_cq_ex { pub context: *mut ibv_context, pub channel: *mut ibv_comp_channel, pub cq_context: *mut c_void, pub handle: u32, pub cqe: c_int, pub mutex: pthread_mutex_t, pub cond: pthread_cond_t, pub comp_events_completed: u32, pub async_events_completed: u32, pub comp_mask: u32, pub status: ibv_wc_status, pub wr_id: u64, pub start_poll: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex, _: *mut ibv_poll_cq_attr) -> c_int>, pub next_poll: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> c_int>, pub end_poll: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex)>, pub read_opcode: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> ibv_wc_opcode>, pub read_vendor_err: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u32>, pub read_byte_len: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u32>, pub read_imm_data: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u32>, pub read_qp_num: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u32>, pub read_src_qp: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u32>, pub read_wc_flags: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> c_int>, pub read_slid: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u32>, pub read_sl: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u8>, pub read_dlid_path_bits: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u8>, pub read_completion_ts: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u64>, pub read_cvlan: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u16>, pub read_flow_tag: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u32>, }
Fields
context: *mut ibv_context
channel: *mut ibv_comp_channel
cq_context: *mut c_void
handle: u32
cqe: c_int
mutex: pthread_mutex_t
cond: pthread_cond_t
comp_events_completed: u32
async_events_completed: u32
comp_mask: u32
status: ibv_wc_status
wr_id: u64
start_poll: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex, _: *mut ibv_poll_cq_attr) -> c_int>
next_poll: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> c_int>
end_poll: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex)>
read_opcode: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> ibv_wc_opcode>
read_vendor_err: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u32>
read_byte_len: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u32>
read_imm_data: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u32>
read_qp_num: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u32>
read_src_qp: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u32>
read_wc_flags: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> c_int>
read_slid: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u32>
read_sl: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u8>
read_dlid_path_bits: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u8>
read_completion_ts: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u64>
read_cvlan: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u16>
read_flow_tag: Option<unsafe extern "C" fn(_: *mut ibv_cq_ex) -> u32>
Trait Implementations
impl Debug for ibv_cq_ex
[src]
impl Copy for ibv_cq_ex
[src]
impl Clone for ibv_cq_ex
[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