pub trait VarIntWrite: Write { // Provided method fn write_varint_u32(&mut self, val: u32) -> Result<()> { ... } }