Skip to main content

ContextObservableCacheEx

Trait ContextObservableCacheEx 

Source
pub trait ContextObservableCacheEx<T: Clone + 'static, K: Eq + Hash + Clone + 'static, X: Clone + 'static> {
    // Required method
    fn as_context_aggregator(
        &self,
    ) -> TypedChangeSetAggregator<T, K, ChangeSetWithContext<T, K, X>>;
}
Expand description

The aggregator of the change sets with a context (TestEx.AsAggregator of IObservable<IChangeSet<TObject, TKey, TContext>>).

Required Methods§

Source

fn as_context_aggregator( &self, ) -> TypedChangeSetAggregator<T, K, ChangeSetWithContext<T, K, X>>

Records the change sets, the items and the end of the sequence, for tests (ChangeSetAggregator<TObject, TKey, TContext>).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: Clone + 'static, K: Eq + Hash + Clone + 'static, X: Clone + 'static> ContextObservableCacheEx<T, K, X> for Rc<dyn IObservable<ChangeSetWithContext<T, K, X>>>

Implementors§