pub trait UartPeriphExt:
UartPeriph
+ BusClock
+ Enable
+ Reset
+ Steal {
// Required methods
fn config(&mut self, config: Config, mcu: &mut Mcu);
fn enable_comm(&mut self, tx: bool, rx: bool);
fn set_stop_bits(&mut self, bits: StopBits);
}Required Methods§
fn config(&mut self, config: Config, mcu: &mut Mcu)
fn enable_comm(&mut self, tx: bool, rx: bool)
fn set_stop_bits(&mut self, bits: StopBits)
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.