#[repr(C)]pub enum CUfileFileHandleType {
CU_FILE_HANDLE_TYPE_OPAQUE_FD = 1,
CU_FILE_HANDLE_TYPE_OPAQUE_WIN32 = 2,
CU_FILE_HANDLE_TYPE_USERSPACE_FS = 3,
}Variants§
CU_FILE_HANDLE_TYPE_OPAQUE_FD = 1
linux based fd
CU_FILE_HANDLE_TYPE_OPAQUE_WIN32 = 2
windows based handle
CU_FILE_HANDLE_TYPE_USERSPACE_FS = 3
userspace based FS
Trait Implementations§
Source§impl Clone for CUfileFileHandleType
impl Clone for CUfileFileHandleType
Source§fn clone(&self) -> CUfileFileHandleType
fn clone(&self) -> CUfileFileHandleType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CUfileFileHandleType
Source§impl Debug for CUfileFileHandleType
impl Debug for CUfileFileHandleType
impl Eq for CUfileFileHandleType
Source§impl PartialEq for CUfileFileHandleType
impl PartialEq for CUfileFileHandleType
Source§fn eq(&self, other: &CUfileFileHandleType) -> bool
fn eq(&self, other: &CUfileFileHandleType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CUfileFileHandleType
Auto Trait Implementations§
impl Freeze for CUfileFileHandleType
impl RefUnwindSafe for CUfileFileHandleType
impl Send for CUfileFileHandleType
impl Sync for CUfileFileHandleType
impl Unpin for CUfileFileHandleType
impl UnsafeUnpin for CUfileFileHandleType
impl UnwindSafe for CUfileFileHandleType
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