pub trait Param {
// Required methods
fn is_null(&self) -> bool;
fn encode_type(&self, out: &mut Vec<u8>);
fn encode_value(&self, out: &mut Vec<u8>) -> Result<()>;
}pub trait Param {
// Required methods
fn is_null(&self) -> bool;
fn encode_type(&self, out: &mut Vec<u8>);
fn encode_value(&self, out: &mut Vec<u8>) -> Result<()>;
}