Function base::custom_serde::deserialize_seq_to_arr
source · pub fn deserialize_seq_to_arr<'de, D, T: Sized + Deserialize<'de> + Debug, const SIZE: usize>(
deserializer: D
) -> Result<[T; SIZE], D::Error>where
D: Deserializer<'de>,
Expand description
Deserialize sequence of T into an Array of SIZE == Size of sequence. This function is a workaround to the serde limitation on array size (32) deserialization.