Hi! I have an Iterator which's items have the type Result<T: Ord, E>. I would like to create a sorted collection of this iterator, sorted by T as effectively as possible.
Would the item type just be T I would use Itertools::sorted_by_key. What I really need here is something that does just that but if it encounters a Result::Err variant it just returns that error.