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