pub trait RCodec<Message, Buffer> {
type Error;
// Required method
fn read(self, buffer: Buffer) -> Result<Message, Self::Error>;
}pub trait RCodec<Message, Buffer> {
type Error;
// Required method
fn read(self, buffer: Buffer) -> Result<Message, Self::Error>;
}