Calls [`Self::encode`] once for every item in `i`. Only use this with **FAST** iterators since the iterator may be iterated multiple times. # Safety Can only encode `self.reserve(additional)` items. `i` must have an accurate `i.size_hint().1.unwrap()` that != 0 and is <= `MAX_VECTORED_CHUNK`. Currently, the non-map iterators that uphold these requirements are: - vec.rs - option.rs
(&mut self, i: impl Iterator<Item = &'a T> + Clone)
| 49 | /// - vec.rs |
| 50 | /// - option.rs |
| 51 | fn encode_vectored<'a>(&mut self, i: impl Iterator<Item = &'a T> + Clone) |
| 52 | where |
| 53 | T: 'a, |
| 54 | { |
| 55 | for t in i { |
| 56 | self.encode(t); |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | pub trait View<'a> { |
nothing calls this directly
no test coverage detected