[][src]Function foundationdb::tuple::pack_with_versionstamp

pub fn pack_with_versionstamp<T: TuplePack>(v: &T) -> Vec<u8>

Pack value and returns the packed buffer

Panics

Panics if there is multiple versionstamp present or if the encoded data size doesn't fit in u32.