Trait embedded_hal::serial::Write [−][src]
pub trait Write<Word> { type Error; fn write(&mut self, word: Word) -> Result<(), Self::Error>; fn flush(&mut self) -> Result<(), Self::Error>; }
Write half of a serial interface
Associated Types
Loading content...Required methods
fn write(&mut self, word: Word) -> Result<(), Self::Error>
[src]
Writes a single word to the serial interface
fn flush(&mut self) -> Result<(), Self::Error>
[src]
Ensures that none of the previously written words are still buffered