pub trait UpdateCache<CacheModels: CacheableModels>: Sealed {
// Provided method
fn update(&self, cache: &InMemoryCache<CacheModels>) { ... }
}
Expand description
Implemented for dispatch events.
This trait is sealed and cannot be implemented.
Provided Methods§
Sourcefn update(&self, cache: &InMemoryCache<CacheModels>)
fn update(&self, cache: &InMemoryCache<CacheModels>)
Updates the cache based on data contained within an event.