Skip to main content

Uart

Trait Uart 

Source
pub trait Uart<'a>:
    Configure
    + Transmit<'a>
    + Receive<'a> { }
Expand description

Trait for a full UART device.

This includes configuring the bus, transmitting data, and receiving data.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a, T: Configure + Transmit<'a> + Receive<'a>> Uart<'a> for T