Struct ibverbs::ffi::ibv_wq[][src]

#[repr(C)]
pub struct ibv_wq {
Show fields 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(current: *mut ibv_wq, recv_wr: *mut ibv_recv_wr, bad_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_contextwq_context: *mut c_voidpd: *mut ibv_pdcq: *mut ibv_cqwq_num: u32handle: u32state: ibv_wq_statewq_type: ibv_wq_typepost_recv: Option<unsafe extern "C" fn(current: *mut ibv_wq, recv_wr: *mut ibv_recv_wr, bad_recv_wr: *mut *mut ibv_recv_wr) -> c_int>mutex: pthread_mutex_tcond: pthread_cond_tevents_completed: u32comp_mask: u32

Trait Implementations

impl Clone for ibv_wq[src]

impl Copy for ibv_wq[src]

impl Default for ibv_wq[src]

Auto Trait Implementations

impl RefUnwindSafe for ibv_wq

impl !Send for ibv_wq

impl !Sync for ibv_wq

impl Unpin for ibv_wq

impl UnwindSafe for ibv_wq

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.