Skip to main content

CommandId

Trait CommandId 

Source
pub trait CommandId {
    // Required methods
    fn subsystem(&self) -> u8;
    fn cmd_type(&self) -> u8;
    fn cmd_id(&self) -> u8;
}

Required Methods§

Source

fn subsystem(&self) -> u8

Source

fn cmd_type(&self) -> u8

Source

fn cmd_id(&self) -> u8

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§