#[repr(u32)]pub enum IoctlMethod {
Buffered = 0,
InDirect = 1,
OutDirect = 2,
Neither = 3,
}Expand description
IOCTL transfer method
Variants§
Buffered = 0
use system buffer (small transfers, kernel copies data)
InDirect = 1
use MDL for input, direct for output
OutDirect = 2
use direct for input, MDL for output
Neither = 3
raw pointers (dangerous, requires manual validation)
Trait Implementations§
Source§impl Clone for IoctlMethod
impl Clone for IoctlMethod
Source§fn clone(&self) -> IoctlMethod
fn clone(&self) -> IoctlMethod
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 IoctlMethod
impl Debug for IoctlMethod
Source§impl PartialEq for IoctlMethod
impl PartialEq for IoctlMethod
impl Copy for IoctlMethod
impl Eq for IoctlMethod
impl StructuralPartialEq for IoctlMethod
Auto Trait Implementations§
impl Freeze for IoctlMethod
impl RefUnwindSafe for IoctlMethod
impl Send for IoctlMethod
impl Sync for IoctlMethod
impl Unpin for IoctlMethod
impl UnwindSafe for IoctlMethod
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