pub trait IsCmd {
// Required methods
fn as_cmd_header(&self) -> u16;
fn has_poll_status(&self) -> bool;
}Expand description
Interface Trait for data which all commands provide
Required Methods§
fn as_cmd_header(&self) -> u16
fn has_poll_status(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".