pub trait Command {
const START_BYTE: u8;
// Provided method
fn start_byte(&self) -> u8 { ... }
}Expand description
Types that may be submitted as commands to the DAC.
Required Associated Constants§
Sourceconst START_BYTE: u8
const START_BYTE: u8
The starting byte of the command.
Provided Methods§
Sourcefn start_byte(&self) -> u8
fn start_byte(&self) -> u8
A provided method for producing the start byte. Useful for trait objects.
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.