pub struct NoArg<Opcode> { /* private fields */ }
Expand description
Implements an ioctl
with no real arguments.
Implementations§
Trait Implementations§
Source§impl<Opcode: CompileTimeOpcode> Debug for NoArg<Opcode>
impl<Opcode: CompileTimeOpcode> Debug for NoArg<Opcode>
Source§impl<Opcode: CompileTimeOpcode> Ioctl for NoArg<Opcode>
impl<Opcode: CompileTimeOpcode> Ioctl for NoArg<Opcode>
Source§const IS_MUTATING: bool = false
const IS_MUTATING: bool = false
Does the
ioctl
mutate any data in the userspace? Read moreSource§fn as_ptr(&mut self) -> *mut c_void
fn as_ptr(&mut self) -> *mut c_void
Get a pointer to the data to be passed to the
ioctl
command. Read moreSource§unsafe fn output_from_ptr(
_: IoctlOutput,
_: *mut c_void,
) -> Result<Self::Output>
unsafe fn output_from_ptr( _: IoctlOutput, _: *mut c_void, ) -> Result<Self::Output>
Cast the output data to the correct type. Read more
Auto Trait Implementations§
impl<Opcode> Freeze for NoArg<Opcode>
impl<Opcode> RefUnwindSafe for NoArg<Opcode>where
Opcode: RefUnwindSafe,
impl<Opcode> Send for NoArg<Opcode>where
Opcode: Send,
impl<Opcode> Sync for NoArg<Opcode>where
Opcode: Sync,
impl<Opcode> Unpin for NoArg<Opcode>where
Opcode: Unpin,
impl<Opcode> UnwindSafe for NoArg<Opcode>where
Opcode: UnwindSafe,
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