Function ibc_test_framework::util::array::try_into_nested_array
source · pub fn try_into_nested_array<T, const SIZE: usize>(
list: Vec<Vec<T>>
) -> Result<[[T; SIZE]; SIZE], Error>Expand description
Converts a dynamic-sized nested vector Vec<Vec<T>> into a fixed-sized
nested array [[T; SIZE]; SIZE]. Fails if the nested vector is not of
SIZExSIZE length.