greetings everyone
I am trying to improve my Rust skills in using (relatively advanced) iterators in Rust.
I found a lot of questions and answers on this topic.
I am comfortable using more basic/fundamental iterators in idiomatic Rust (things like filter, map, count, min, etc).
I am wondering if there is a (list of) your favourite resources on internet (or books) which cover how to get the most out of Rust iterators from basic to advanced, including traps, best practices, performance tips, etc.
I am looking for things that help dealing with more complex types, Result<>, Options, Enums, Collections, with a lot of filtering, mappings, aggregations, more advanced closures, when to use borrow/by_ref, etc.
There is plenty of material out there but it is spread across hundreds or thousands of posts here and elsewhere and is quite specific.
Perhaps it is well summarized in a handful of places?
Here is one I found, as example: https://github.com/rustomax/rust-iterators
its a very good start but it does not cover as much as I hoped, as titles says, Basic Rust, which is does very well.
I was after The Iterator Bible, "everything you wanted to know about iterators but afraid to ask".
It is such an important feature of Rust, particularly in the applications space, that deserves a big fat book on its own, IMO. Furthermore, the parallel iterators (such as provided by rayon crate?) is another big fantastic feature that is worth shouting about for Rust fans.
My apologies if this has been covered already, I failed to find it.
Thank you.