Struct ibverbs_sys::ibv_cq_ex[][src]

#[repr(C)]
pub struct ibv_cq_ex {
Show 30 fields 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: Type, pub wr_id: u64, pub start_poll: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex, attr: *mut ibv_poll_cq_attr) -> c_int>, pub next_poll: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> c_int>, pub end_poll: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex)>, pub read_opcode: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> Type>, pub read_vendor_err: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u32>, pub read_byte_len: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u32>, pub read_imm_data: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> __be32>, pub read_qp_num: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u32>, pub read_src_qp: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u32>, pub read_wc_flags: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> c_uint>, pub read_slid: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u32>, pub read_sl: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u8>, pub read_dlid_path_bits: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u8>, pub read_completion_ts: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u64>, pub read_cvlan: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u16>, pub read_flow_tag: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u32>, pub read_tm_info: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex, tm_info: *mut ibv_wc_tm_info)>, pub read_completion_wallclock_ns: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u64>,
}

Fields

context: *mut ibv_contextchannel: *mut ibv_comp_channelcq_context: *mut c_voidhandle: u32cqe: c_intmutex: pthread_mutex_tcond: pthread_cond_tcomp_events_completed: u32async_events_completed: u32comp_mask: u32status: Typewr_id: u64start_poll: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex, attr: *mut ibv_poll_cq_attr) -> c_int>next_poll: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> c_int>end_poll: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex)>read_opcode: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> Type>read_vendor_err: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u32>read_byte_len: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u32>read_imm_data: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> __be32>read_qp_num: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u32>read_src_qp: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u32>read_wc_flags: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> c_uint>read_slid: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u32>read_sl: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u8>read_dlid_path_bits: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u8>read_completion_ts: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u64>read_cvlan: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u16>read_flow_tag: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u32>read_tm_info: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex, tm_info: *mut ibv_wc_tm_info)>read_completion_wallclock_ns: Option<unsafe extern "C" fn(current: *mut ibv_cq_ex) -> u64>

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.