Trait embedded_hal::prelude::_embedded_hal_serial_Write [] [src]

pub trait _embedded_hal_serial_Write<Word> {
    type Error;
    fn write(&mut self, word: Word) -> Result<(), Error<Self::Error>>;
fn flush(&mut self) -> Result<(), Error<Self::Error>>; }

Write half of a serial interface

Associated Types

Write error

Required Methods

Writes a single word to the serial interface

Ensures that none of the previously written words are still buffered

Implementors