#[repr(C)]pub struct ibv_wq {Show 13 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 Freeze for ibv_wq
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§
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