pub trait Encode: Debug {
// Required methods
fn encode(&self, row: usize, buf: &mut BytesMut) -> Result<(), ErrorKind>;
fn size_hint(&self) -> Result<usize, ErrorKind>;
}
pub trait Encode: Debug {
// Required methods
fn encode(&self, row: usize, buf: &mut BytesMut) -> Result<(), ErrorKind>;
fn size_hint(&self) -> Result<usize, ErrorKind>;
}