serde_pickle::ser
pub fn value_to_writer<W: Write>( writer: &mut W, value: &Value, use_proto_3: bool) -> Result<()>
Encode the value into a pickle stream.