fn boxed<'a, I: Iterator<Item = Error> + 'a>( iter: I, ) -> Box<dyn Iterator<Item = Error> + 'a>
Helper: Box an iterator of errors.