pub trait ValidStateMachine: Sealed {
type PIO: PIOExt;
// Required methods
fn id() -> usize;
fn tx_dreq() -> u8;
fn rx_dreq() -> u8;
}Expand description
Trait to identify a single state machine, as a generic type parameter to UninitStateMachine,
InitStateMachine, etc.
Required Associated Types§
Required Methods§
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.