Function bson::to_vec[][src]

pub fn to_vec<T>(value: &T) -> Result<Vec<u8>> where
    T: Serialize
Expand description

Serialize the given T as a BSON byte vector.