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_context
wq_context: *mut c_void
pd: *mut ibv_pd
cq: *mut ibv_cq
wq_num: u32
handle: u32
state: ibv_wq_state
wq_type: ibv_wq_type
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>
mutex: pthread_mutex_t
cond: pthread_cond_t
events_completed: u32
comp_mask: u32
Trait Implementations
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,