Skip to main content

IsCmd

Trait IsCmd 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§