pub trait Value {
    fn serialize(&self, buf: &mut Vec<u8, Global>) -> Result<(), ValueTooBig>;
}
Expand description

Every value being sent in a query must implement this trait serialize() should write the Value as bytes to the provided buffer

Required Methods

Implementations on Foreign Types

Every Option can be serialized as None -> NULL, Some(val) -> val.serialize()

Implementors