pub trait SerialExt<PINS>: Sized {
// Required method
fn configure(
self,
pins: PINS,
baud_rate: Bps,
clocks: &Clocks,
) -> Serial<Self, PINS>;
}Expand description
Extension trait that constrains UART peripherals
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.