#[repr(C)]pub struct CUfileFSOps {
pub fs_type: Option<unsafe extern "C" fn(handle: *const c_void) -> *const c_char>,
pub getRDMADeviceList: Option<unsafe extern "C" fn(handle: *const c_void, hostaddrs: *mut *mut sockaddr_t) -> c_int>,
pub getRDMADevicePriority: Option<unsafe extern "C" fn(handle: *const c_void, arg1: *mut c_char, arg2: usize, arg3: loff_t, hostaddr: *const sockaddr_t) -> c_int>,
pub read: Option<unsafe extern "C" fn(handle: *const c_void, arg1: *mut c_char, arg2: usize, arg3: loff_t, arg4: *const cufileRDMAInfo_t) -> isize>,
pub write: Option<unsafe extern "C" fn(handle: *const c_void, arg1: *const c_char, arg2: usize, arg3: loff_t, arg4: *const cufileRDMAInfo_t) -> isize>,
}Fields§
§fs_type: Option<unsafe extern "C" fn(handle: *const c_void) -> *const c_char>§getRDMADeviceList: Option<unsafe extern "C" fn(handle: *const c_void, hostaddrs: *mut *mut sockaddr_t) -> c_int>§getRDMADevicePriority: Option<unsafe extern "C" fn(handle: *const c_void, arg1: *mut c_char, arg2: usize, arg3: loff_t, hostaddr: *const sockaddr_t) -> c_int>§read: Option<unsafe extern "C" fn(handle: *const c_void, arg1: *mut c_char, arg2: usize, arg3: loff_t, arg4: *const cufileRDMAInfo_t) -> isize>§write: Option<unsafe extern "C" fn(handle: *const c_void, arg1: *const c_char, arg2: usize, arg3: loff_t, arg4: *const cufileRDMAInfo_t) -> isize>Trait Implementations§
Source§impl Clone for CUfileFSOps
impl Clone for CUfileFSOps
Source§fn clone(&self) -> CUfileFSOps
fn clone(&self) -> CUfileFSOps
Returns a duplicate 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 Debug for CUfileFSOps
impl Debug for CUfileFSOps
Source§impl Hash for CUfileFSOps
impl Hash for CUfileFSOps
Source§impl Ord for CUfileFSOps
impl Ord for CUfileFSOps
Source§fn cmp(&self, other: &CUfileFSOps) -> Ordering
fn cmp(&self, other: &CUfileFSOps) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CUfileFSOps
impl PartialEq for CUfileFSOps
Source§impl PartialOrd for CUfileFSOps
impl PartialOrd for CUfileFSOps
impl Copy for CUfileFSOps
impl Eq for CUfileFSOps
impl StructuralPartialEq for CUfileFSOps
Auto Trait Implementations§
impl Freeze for CUfileFSOps
impl RefUnwindSafe for CUfileFSOps
impl Send for CUfileFSOps
impl Sync for CUfileFSOps
impl Unpin for CUfileFSOps
impl UnsafeUnpin for CUfileFSOps
impl UnwindSafe for CUfileFSOps
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