Trait scylla::frame::value::Value[][src]

pub trait Value {
    fn serialize(&self, buf: &mut Vec<u8>) -> 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