pub fn dedup_by<S: Stream, Pred>( stream: S, dedup_pred: Pred, ) -> DedupBy<S, Pred>where Pred: FnMut(&S::Item, &S::Item) -> bool,