Due to MRSV 1.71 we could not implement a generic iterator type as suggested in https://github.com/TheCharlatan/rust-bitcoinkernel/pull/55. Once [Floresta's](https://github.com/vinteumorg/Floresta) requirement of rust 1.74.1 is lifted, we can reimplement what was suggested in the noted PR.