pub trait StreamWriter: Stream { // Required method fn write(&mut self, buff: &[u8]) -> Result<usize, ()>; }