pub trait CacheChangeSetSource: 'static {
type Item: Clone + 'static;
type Key: Eq + Hash + Clone + 'static;
// Required method
fn source_change_sets(
&self,
) -> Rc<dyn IObservable<ChangeSet<Self::Item, Self::Key>>>;
}Expand description
A source of the change sets of a cache: a sequence of change sets, or a cache whose Connect()
is its sequence (the items of upstream’s collections of sources).
Required Associated Types§
Required Methods§
Sourcefn source_change_sets(
&self,
) -> Rc<dyn IObservable<ChangeSet<Self::Item, Self::Key>>>
fn source_change_sets( &self, ) -> Rc<dyn IObservable<ChangeSet<Self::Item, Self::Key>>>
The change sets of the source: the sequence itself, or Connect() of a cache.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".