pub trait Capability: Sealed {
const FLAG_MASK: u8;
const STATUS_MASK: u16;
const RXEN: bool;
const TXEN: bool;
}Expand description
Type-level enum representing the capabilities of a UART peripheral
Required Associated Constants§
Sourceconst STATUS_MASK: u16
const STATUS_MASK: u16
Available status flags for the specified capability
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".