Function try_collect_vec
pub fn try_collect_vec<I, T>(iter: I) -> Result<Vec<T>, TryReserveError>where
I: Iterator<Item = T>,
Available on crate feature
evm
only.Expand description
Tries to collect the elements of an iterator into a Vec
.