Struct libfabric_sys::fi_ops_cm
[−]
[src]
#[repr(C)]pub struct fi_ops_cm { pub size: usize, pub setname: Option<unsafe extern fn(_: fid_t, _: *mut c_void, _: usize) -> c_int>, pub getname: Option<unsafe extern fn(_: fid_t, _: *mut c_void, _: *mut usize) -> c_int>, pub getpeer: Option<unsafe extern fn(_: *mut fid_ep, _: *mut c_void, _: *mut usize) -> c_int>, pub connect: Option<unsafe extern fn(_: *mut fid_ep, _: *const c_void, _: *const c_void, _: usize) -> c_int>, pub listen: Option<unsafe extern fn(_: *mut fid_pep) -> c_int>, pub accept: Option<unsafe extern fn(_: *mut fid_ep, _: *const c_void, _: usize) -> c_int>, pub reject: Option<unsafe extern fn(_: *mut fid_pep, _: fid_t, _: *const c_void, _: usize) -> c_int>, pub shutdown: Option<unsafe extern fn(_: *mut fid_ep, _: u64) -> c_int>, pub join: Option<unsafe extern fn(_: *mut fid_ep, _: *const c_void, _: u64, _: *mut *mut fid_mc, _: *mut c_void) -> c_int>, }
Fields
size: usize
setname: Option<unsafe extern fn(_: fid_t, _: *mut c_void, _: usize) -> c_int>
getname: Option<unsafe extern fn(_: fid_t, _: *mut c_void, _: *mut usize) -> c_int>
getpeer: Option<unsafe extern fn(_: *mut fid_ep, _: *mut c_void, _: *mut usize) -> c_int>
connect: Option<unsafe extern fn(_: *mut fid_ep, _: *const c_void, _: *const c_void, _: usize) -> c_int>
listen: Option<unsafe extern fn(_: *mut fid_pep) -> c_int>
accept: Option<unsafe extern fn(_: *mut fid_ep, _: *const c_void, _: usize) -> c_int>
reject: Option<unsafe extern fn(_: *mut fid_pep, _: fid_t, _: *const c_void, _: usize) -> c_int>
shutdown: Option<unsafe extern fn(_: *mut fid_ep, _: u64) -> c_int>
join: Option<unsafe extern fn(_: *mut fid_ep, _: *const c_void, _: u64, _: *mut *mut fid_mc, _: *mut c_void) -> c_int>
Trait Implementations
impl Debug for fi_ops_cm
[src]
impl Copy for fi_ops_cm
[src]
impl Clone for fi_ops_cm
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more