DistinctUntilChangedExt

Trait DistinctUntilChangedExt 

Source
pub trait DistinctUntilChangedExt<T>: Stream<Item = StreamItem<T>> + Sized
where T: Fluxion, T::Inner: Clone + Debug + Ord + Unpin + Send + Sync + 'static, T::Timestamp: Debug + Ord + Copy + Send + Sync + 'static,
{ // Required method fn distinct_until_changed( self, ) -> impl Stream<Item = StreamItem<T>> + Send + Sync; }

Required Methods§

Source

fn distinct_until_changed( self, ) -> impl Stream<Item = StreamItem<T>> + Send + Sync

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, S> DistinctUntilChangedExt<T> for S
where S: Stream<Item = StreamItem<T>> + Send + Sync + 'static, T: Fluxion, T::Inner: Clone + Debug + Ord + Unpin + Send + Sync + 'static, T::Timestamp: Debug + Ord + Copy + Send + Sync + 'static,