pub trait AsyncItertools: Stream {
// Provided methods
fn zip_longest<U>(self, other: U) -> ZipLongest<Self, U>
where Self: Sized,
U: Stream { ... }
fn coalesce<F>(self, f: F) -> Coalesce<Self, F>
where Self: Sized,
F: FnMut(Self::Item, Self::Item) -> Result<Self::Item, (Self::Item, Self::Item)> { ... }
fn dedup_by<F>(self, f: F) -> DedupBy<Self, F>
where Self: Sized,
F: FnMut(&Self::Item, &Self::Item) -> bool { ... }
fn dedup(self) -> Dedup<Self>
where Self: Sized,
Self::Item: PartialEq { ... }
}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).
fn coalesce<F>(self, f: F) -> Coalesce<Self, F>
fn dedup_by<F>(self, f: F) -> DedupBy<Self, F>
fn dedup(self) -> Dedup<Self>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".