(
mut results: impl Iterator<Item = Result<T, E>>,
)
| 226 | } |
| 227 | |
| 228 | pub(crate) fn try_is_present<T, E>( |
| 229 | mut results: impl Iterator<Item = Result<T, E>>, |
| 230 | ) -> Result<bool, E> { |
| 231 | Ok(results.next().transpose()?.is_some()) |
| 232 | } |
| 233 | |
| 234 | pub(super) fn collect_preload_edges<T, E>( |
| 235 | results: impl IntoIterator<Item = Result<T, E>>, |