pub trait SplitUart: Sized {
type Port: UartPort;
type Irq: UartIrq;
// Required methods
fn runtime_info(&self) -> UartInfo;
fn split(self) -> UartParts<Self::Port, Self::Irq>;
}Expand description
Converts a concrete UART into disjoint runtime endpoints.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".