pub trait EncodeBinary {
type Error;
// Required method
fn encode_binary(&self) -> Result<Vec<u8>, Self::Error>;
}Expand description
Minimal encode trait for binary format value types.
pub trait EncodeBinary {
type Error;
// Required method
fn encode_binary(&self) -> Result<Vec<u8>, Self::Error>;
}Minimal encode trait for binary format value types.