pub fn to_vec_with_info<T>( value: &T, registry_type: Option<(&Registry, TypeId)>, ) -> Result<Vec<u8>, Error>where T: Serialize + ?Sized,
SCALE-encode a value into a new Vec<u8>, using type info to coerce representations.
Vec<u8>