#[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_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: Type
§wr_id: u64
§start_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§
Auto Trait Implementations§
impl Freeze for ibv_cq_ex
impl RefUnwindSafe for ibv_cq_ex
impl !Send for ibv_cq_ex
impl !Sync for ibv_cq_ex
impl Unpin for ibv_cq_ex
impl UnwindSafe for ibv_cq_ex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more