pub trait BinaryEncode {
// Required method
fn encode_binary(&self, buf: &mut Vec<u8>);
}Expand description
Encode a value to PostgreSQL binary format.
Required Methods§
Sourcefn encode_binary(&self, buf: &mut Vec<u8>)
fn encode_binary(&self, buf: &mut Vec<u8>)
Encode self to binary bytes for PostgreSQL.