Trait dwm1001::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>>;
}
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
Implementations on Foreign Types
Write a single byte to the internal buffer. Returns nb::Error::WouldBlock if buffer is full.
Flush the TX buffer non-blocking. Returns nb::Error::WouldBlock if not yet flushed.