rustix::ioctl

Trait CompileTimeOpcode

Source
pub trait CompileTimeOpcode {
    const OPCODE: Opcode;
}
Expand description

Trait for something that provides an ioctl opcode at compile time.

Required Associated Constants§

Source

const OPCODE: Opcode

The opcode.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<const GROUP: u8, const NUM: u8, Data> CompileTimeOpcode for NoneOpcode<GROUP, NUM, Data>

Source§

impl<const GROUP: u8, const NUM: u8, Data> CompileTimeOpcode for ReadOpcode<GROUP, NUM, Data>

Source§

impl<const GROUP: u8, const NUM: u8, Data> CompileTimeOpcode for ReadWriteOpcode<GROUP, NUM, Data>

Source§

impl<const GROUP: u8, const NUM: u8, Data> CompileTimeOpcode for WriteOpcode<GROUP, NUM, Data>

Source§

impl<const OPCODE: RawOpcode> CompileTimeOpcode for BadOpcode<OPCODE>