pub trait VariableReadable {
// Required method
fn read_single(&mut self) -> Result<u8>;
// Provided method
fn read_more(&mut self, buf: &mut ReadBuf<'_>) -> Result<()> { ... }
}
pub trait VariableReadable {
// Required method
fn read_single(&mut self) -> Result<u8>;
// Provided method
fn read_more(&mut self, buf: &mut ReadBuf<'_>) -> Result<()> { ... }
}