Expand description
Iterator helpers.
Functionsยง
- fallible_
any - Returns
Ok(true)if any element satisfies the fallible predicate,Ok(false)if none do. ReturnsErron the first error encountered. - fallible_
find - Returns
Ok(Some(item))for the first element where the predicate returnsOk(true),Ok(None)if no element satisfies it, orErron the first error. - fallible_
position - Returns
Ok(Some(index))for the first element where the predicate returnsOk(true),Ok(None)if no element satisfies it, orErron the first error.