Trait embedded_svc::io::Write
source · [−]pub trait Write: Errors {
fn do_write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>;
fn do_write_all(&mut self, buf: &[u8]) -> Result<(), Self::Error> { ... }
fn do_flush(&mut self) -> Result<(), Self::Error> { ... }
fn into_dyn_write(self) -> Box<dyn Write<Error = IODynError>>
where
Self: Sized + 'static,
Self::Error: Into<IODynError>,
{ ... }
}