#[repr(C)]pub struct ibv_context {
pub device: *mut ibv_device,
pub ops: ibv_context_ops,
pub cmd_fd: c_int,
pub async_fd: c_int,
pub num_comp_vectors: c_int,
pub mutex: pthread_mutex_t,
pub abi_compat: *mut c_void,
}
Fields§
§device: *mut ibv_device
§ops: ibv_context_ops
§cmd_fd: c_int
§async_fd: c_int
§num_comp_vectors: c_int
§mutex: pthread_mutex_t
§abi_compat: *mut c_void
Trait Implementations§
Source§impl Clone for ibv_context
impl Clone for ibv_context
Source§fn clone(&self) -> ibv_context
fn clone(&self) -> ibv_context
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ibv_context
impl Default for ibv_context
impl Copy for ibv_context
Auto Trait Implementations§
impl Freeze for ibv_context
impl RefUnwindSafe for ibv_context
impl !Send for ibv_context
impl !Sync for ibv_context
impl Unpin for ibv_context
impl UnwindSafe for ibv_context
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