This returns `Ok(Some(()))` for the next element in the array, or `Ok(None)` if there are no more remaining elements.
(&mut self)
| 632 | /// This returns `Ok(Some(()))` for the next element in the array, |
| 633 | /// or `Ok(None)` if there are no more remaining elements. |
| 634 | fn validate_next_element(&mut self) -> Result<Option<()>, Self::Error> { |
| 635 | let opt = self.next_element()?; |
| 636 | Ok(opt.map(|_| ())) |
| 637 | } |
| 638 | |
| 639 | /// Returns the number of elements remaining in the array, if known. |
| 640 | fn size_hint(&self) -> Option<usize> { |
no test coverage detected