#[repr(C)]
pub struct ibv_exp_wq
{
pub context: *mut ibv_context,
pub wq_context: *mut c_void,
pub handle: u32,
pub pd: *mut ibv_pd,
pub cq: *mut ibv_cq,
pub srq: *mut ibv_srq,
pub wq_num: u32,
pub state: ibv_exp_wq_state,
pub wq_type: ibv_exp_wq_type,
pub comp_mask: u32,
}
impl Default for ibv_exp_wq
{
#[inline(always)]
fn default() -> Self
{
unsafe { zeroed() }
}
}
impl Debug for ibv_exp_wq
{
#[inline(always)]
fn fmt(&self, f: &mut Formatter) -> Result
{
write!(f, "ibv_exp_wq {{ context: {:?}, wq_context: {:?}, pd: {:?}, cq: {:?}, srq: {:?}, state: {:?}, wq_type: {:?} }}", self.context, self.wq_context, self.pd, self.cq, self.srq, self.state, self.wq_type)
}
}