ibverbs_sys

Struct ibv_cq_ex

Source
#[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§

Source§

impl Clone for ibv_cq_ex

Source§

fn clone(&self) -> ibv_cq_ex

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for ibv_cq_ex

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for ibv_cq_ex

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.