Function to_vec_with_info

Source
pub fn to_vec_with_info<T>(
    value: &T,
    registry_type: Option<(&PortableRegistry, u32)>,
) -> Result<Vec<u8>, Error>
where T: Serialize + ?Sized,