Trait app_io::ImmutableWrite
source · pub trait ImmutableWrite: Send + Sync + 'static {
// Required method
fn write(&self, buf: &[u8]) -> Result<usize>;
// Provided method
fn write_all(&self, buf: &[u8]) -> Result<()> { ... }
}