#[repr(u32)]pub enum IoctlAccess {
Any = 0,
Read = 1,
Write = 2,
ReadWrite = 3,
}Expand description
IOCTL access modes
Variants§
Any = 0
any access allowed
Read = 1
read access required
Write = 2
write access required
ReadWrite = 3
read and write access required
Trait Implementations§
Source§impl Clone for IoctlAccess
impl Clone for IoctlAccess
Source§fn clone(&self) -> IoctlAccess
fn clone(&self) -> IoctlAccess
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 IoctlAccess
impl Debug for IoctlAccess
Source§impl PartialEq for IoctlAccess
impl PartialEq for IoctlAccess
impl Copy for IoctlAccess
impl Eq for IoctlAccess
impl StructuralPartialEq for IoctlAccess
Auto Trait Implementations§
impl Freeze for IoctlAccess
impl RefUnwindSafe for IoctlAccess
impl Send for IoctlAccess
impl Sync for IoctlAccess
impl Unpin for IoctlAccess
impl UnwindSafe for IoctlAccess
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