pub trait AsyncItertools: Stream {
// Provided method
fn zip_longest<U>(self, other: U) -> ZipLongest<Self, U>
where Self: Sized,
U: Stream { ... }
}Provided Methods§
Sourcefn zip_longest<U>(self, other: U) -> ZipLongest<Self, U>
fn zip_longest<U>(self, other: U) -> ZipLongest<Self, U>
Yields pairs, EitherOrBoth::Both, of items from both streams, until at least one runs
out, then either EitherOrBoth::Left (if right ends) or EitherOrBoth::Right (if left
ends).