Struct twilight_cache_inmemory::InMemoryCacheBuilder [−][src]
pub struct InMemoryCacheBuilder(_);Expand description
Builder to configure and construct an InMemoryCache.
Implementations
Creates a builder to configure and construct an InMemoryCache.
Consume the builder, returning a configured cache.
Sets the list of resource types for the cache to handle.
Defaults to all types.
Sets the number of messages to cache per channel.
Defaults to 100.
Trait Implementations
Returns the “default value” for a type. Read more
