Are there plans to add more try_** methods for iter::iterator?

With the implementation of try_find, it is easy to achieve more try_** methods like:

fn try_all<F, R>(
    &mut self,
    f: F
) -> <<R as Try>::Residual as Residual<bool>>::TryType
    Self: Sized,
    F: FnMut(&Self::Item) -> R,
    R: Try<Output = bool>,
    <R as Try>::Residual: Residual<bool>,

See the conversation in RFC: add `try_all` and `try_any` to `Iterator` by FlixCoder · Pull Request #3233 · rust-lang/rfcs · GitHub

thank you, that's what I want

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.