Trait atmega_hal::prelude::_ufmt_uWrite
source · [−]pub trait _ufmt_uWrite {
type Error;
fn write_str(&mut self, s: &str) -> Result<(), Self::Error>;
fn write_char(&mut self, c: char) -> Result<(), Self::Error> { ... }
}
Expand description
A collection of methods that are required / used to format a message into a stream.
Required Associated Types
Required Methods
Writes a string slice into this writer, returning whether the write succeeded.
This method can only succeed if the entire string slice was successfully written, and this method will not return until all data has been written or an error occurs.