Struct rustix_uring::opcode::UringCmd16
source · pub struct UringCmd16 { /* private fields */ }
Expand description
A file/device-specific 16-byte command, akin (but not equivalent) to ioctl(2)
.
Implementations§
source§impl UringCmd16
impl UringCmd16
pub fn new(fd: impl UseFixed, cmd_op: cmd_op_struct) -> Self
sourcepub const CODE: IoringOp = _
pub const CODE: IoringOp = _
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.