#[must_use = "stream adaptors are lazy and do nothing unless consumed"]
pub struct Dedup<S> {
// some fields omitted
}Methods
impl<S> Dedup<S>
fn new(stream: S) -> Self
Trait Implementations
type Item = S::Item
fn consume<C>(self, consumer: C) where C: Consumer<Self::Item>
fn count(self) -> Count<Self> where Self: Sized
fn debounce<SC>(self, delay: Duration, scheduler: SC) -> Debounce<Self, SC> where SC: Scheduler, Self: Sized + 'static
fn dedup(self) -> Dedup<Self> where Self: Sized
fn dedup_by_key<F, K>(self, key_selector: F) -> DedupByKey<Self, F> where Self: Sized, F: FnMut(&Self::Item) -> K
fn filter<F>(self, predicate: F) -> Filter<Self, F> where Self: Sized, F: FnMut(&mut Self::Item) -> bool
fn flat_map<F, SO>(self, func: F) -> Flatmap<Self, F> where Self: Sized, F: FnMut(Self::Item) -> SO, SO: Stream
fn fold<O, F>(self, initial: O, func: F) -> Fold<Self, F, O> where Self: Sized, F: FnMut(O, Self::Item) -> O
fn group_by<F, K>(self, key_selector: F) -> GroupBy<F, Self> where Self: Sized, F: FnMut(&Self::Item) -> K, K: Hash + Eq + Clone
fn inspect<F>(self, func: F) -> Inspect<Self, F> where F: FnMut(&mut Self::Item), Self: Sized
fn map<F, O>(self, func: F) -> Map<Self, F> where Self: Sized, F: FnMut(Self::Item) -> O
fn max(self) -> Max<Self> where Self: Sized
fn min(self) -> Min<Self> where Self: Sized
fn scan<O, F>(self, initial: O, func: F) -> Scan<Self, F, O> where Self: Sized, F: FnMut(O, Self::Item) -> O, O: Clone
fn skip(self, count: u64) -> Skip<Self> where Self: Sized
fn sort(self) -> Sort<Self> where Self: Sized
fn sum(self) -> Sum<Self> where Self: Sized
fn take(self, count: u64) -> Take<Self> where Self: Sized
fn to_vec<F>(self, splitter: F) -> ToVec<Self, F> where F: FnMut(&Vec<Self::Item>) -> bool, Self: Sized
fn zip<R>(self, right: R) -> Zip<Self, R> where Self: Sized