pub trait View: 'static + Send + Sync + Debug {
type Collection: Collection;
type Key: 'static + for<'a> Key<'a>;
type Value: Send + Sync;
fn name(&self) -> Name;
fn view_name(&self) -> ViewName { ... }
}
Expand description
A mechanism for accessing mapped and/or reduced data from a Collection
.
Associated Types
type Collection: Collection
type Collection: Collection
The collection this view belongs to