Struct humphrey_server::config::config::CacheConfig [−][src]
Expand description
Represents configuration for the cache.
Fields
size_limit: usize
The maximum size of the cache, in bytes
time_limit: usize
The maximum time to cache an item for, in seconds
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CacheConfig
impl Send for CacheConfig
impl Sync for CacheConfig
impl Unpin for CacheConfig
impl UnwindSafe for CacheConfig
Blanket Implementations
Mutably borrows from an owned value. Read more