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