Trait Write
rcobs
pub trait Write { type Error; fn write(&mut self, byte: u8) -> Result<(), Self::Error>; }
Write trait to use with Encoder
type Error
fn write(&mut self, byte: u8) -> Result<(), Self::Error>
Write a single byte.