devela::_dep::rustix::ioctl

Trait CompileTimeOpcode

pub trait CompileTimeOpcode {
    const OPCODE: Opcode;
}
Available on crate feature dep_rustix only.
Expand description

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

Required Associated Constants§

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§

§

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

§

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

§

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

§

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

§

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