Skip to main content

Uart

Trait Uart 

Source
pub trait Uart {
    // Required method
    fn port() -> uart_port_t;
}

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.

Implementors§

Source§

impl Uart for UART0<'_>

Source§

impl Uart for UART1<'_>