Trait twilight_cache_inmemory::UpdateCache
source · 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.