pub trait Writer: Sized {
// Required methods
fn write_one(self, v: u8) -> Result<Self>;
fn write_many(self, v: &[u8]) -> Result<Self>;
fn capacity(&self) -> usize;
}
Required Methods§
fn write_one(self, v: u8) -> Result<Self>
fn write_many(self, v: &[u8]) -> Result<Self>
fn capacity(&self) -> usize
Object Safety§
This trait is not object safe.