pub fn unpack_map_iter<I, K, V, C>(
iter: I,
) -> Result<(usize, C), <V as Unpackable>::Error>where
I: IntoIterator<Item = u8>,
K: Unpackable,
V: Unpackable,
<V as Unpackable>::Error: From<<K as Unpackable>::Error>,
C: FromIterator<(K, V)>,Expand description
Unpacks a map from the iterator, returning a collectable type and the amount of read bytes.