Skip to main content

IAggregateChangeSet

Trait IAggregateChangeSet 

Source
pub trait IAggregateChangeSet<T> {
    // Required method
    fn items(&self) -> Box<dyn Iterator<Item = AggregateItem<T>> + '_>;
}
Expand description

A change set shaped for fast continuous aggregations: the items added and removed, in order (IAggregateChangeSet<T>, an IEnumerable<AggregateItem<T>>).

The sequences of aggregate change sets are Rc<dyn IObservable<Rc<dyn IAggregateChangeSet<T>>>> (for_aggregation), the operators of which are those of AggregateChangeSetEx.

Required Methods§

Source

fn items(&self) -> Box<dyn Iterator<Item = AggregateItem<T>> + '_>

The items added and removed, in the order of the changes (GetEnumerator).

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§