Trait embedded_hal::serial::nb::Write [−][src]
pub trait Write<Word> {
type Error: Debug;
fn write(&mut self, word: Word) -> Result<(), Self::Error>;
fn flush(&mut self) -> Result<(), Self::Error>;
}
Expand description
Write half of a serial interface
Associated Types
Required methods
Writes a single word to the serial interface
Trait Implementations
Writes a string slice into this writer, returning whether the write succeeded. Read more