Enum kismet_cache::CacheHitAction [−][src]
pub enum CacheHitAction {
Accept,
Promote,
Replace,
}Expand description
What to do with a cache hit in a Cache::get_or_update call?
Variants
Return the cache hit as is.
Return the cache hit after promoting it to the current write cache directory, if necessary.
Replace with and return a new file.