var searchIndex = {}; searchIndex["lru_time_cache"] = {"doc":"#lru cache limited via size or time","items":[[3,"VacantEntry","lru_time_cache","",null,null],[3,"OccupiedEntry","","",null,null],[3,"LruCache","","Provides a Last Recently Used caching algorithm in a container which may be limited by size or time, reordered to most recently seen.",null,null],[4,"Entry","","",null,null],[13,"Vacant","","",0,null],[13,"Occupied","","",0,null],[11,"clone","","",1,null],[11,"with_capacity","","",1,{"inputs":[{"name":"usize"}],"output":{"name":"lrucache"}}],[11,"with_expiry_duration","","Constructor for time based LruCache",1,{"inputs":[{"name":"duration"}],"output":{"name":"lrucache"}}],[11,"with_expiry_duration_and_capacity","","Constructor for dual feature capacity, or time based LruCache",1,{"inputs":[{"name":"duration"},{"name":"usize"}],"output":{"name":"lrucache"}}],[11,"add","","Add a key/value pair to cache",1,null],[11,"insert","","Inserts a key-value pair into the cache. If the key already had a value\npresent in the cache, that value is returned. Otherwise, `None` is returned.",1,null],[11,"remove","","Remove a key/value pair from cache",1,null],[11,"get","","Retrieve a value from cache",1,null],[11,"get_mut","","Retrieve a value from cache",1,null],[11,"check","","Check for existence of a key",1,null],[11,"contains_key","","",1,null],[11,"len","","Current size of cache",1,null],[11,"retrieve_all","","",1,null],[11,"entry","","Gets the given key's corresponding entry in the map for in-place manipulation.",1,null],[11,"insert","","",2,null],[11,"into_mut","","",3,null],[11,"or_insert","","",0,null],[11,"or_insert_with","","",0,null]],"paths":[[4,"Entry"],[3,"LruCache"],[3,"VacantEntry"],[3,"OccupiedEntry"]]}; initSearch(searchIndex);