#[repr(C)]pub struct ibv_dm {
pub context: *mut ibv_context,
pub memcpy_to_dm: Option<unsafe extern "C" fn(dm: *mut ibv_dm, dm_offset: u64, host_addr: *const c_void, length: usize) -> c_int>,
pub memcpy_from_dm: Option<unsafe extern "C" fn(host_addr: *mut c_void, dm: *mut ibv_dm, dm_offset: u64, length: usize) -> c_int>,
pub comp_mask: u32,
pub handle: u32,
}
Fields§
§context: *mut ibv_context
§memcpy_to_dm: Option<unsafe extern "C" fn(dm: *mut ibv_dm, dm_offset: u64, host_addr: *const c_void, length: usize) -> c_int>
§memcpy_from_dm: Option<unsafe extern "C" fn(host_addr: *mut c_void, dm: *mut ibv_dm, dm_offset: u64, length: usize) -> c_int>
§comp_mask: u32
§handle: u32
Trait Implementations§
impl Copy for ibv_dm
Auto Trait Implementations§
impl Freeze for ibv_dm
impl RefUnwindSafe for ibv_dm
impl !Send for ibv_dm
impl !Sync for ibv_dm
impl Unpin for ibv_dm
impl UnwindSafe for ibv_dm
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