var searchIndex = {}; searchIndex["lru_time_cache"] = {"doc":"#lru cache limited via size or time","items":[[3,"VacantEntry","lru_time_cache","A vacant Entry.",null,null],[3,"OccupiedEntry","","An occupied Entry.",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","","A view into a single entry in a lru_cache, which may either be vacant or occupied.",null,null],[13,"Vacant","","A vacant Entry",0,null],[13,"Occupied","","An occupied Entry",0,null],[11,"clone","","",1,null],[11,"with_capacity","","Constructor for size based LruCache",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","","Returns true if a value existed for the specified key.",1,null],[11,"len","","Current size of cache",1,null],[11,"retrieve_all","","Retrieve all elements as a vector of key value tuple.",1,null],[11,"entry","","Gets the given key's corresponding entry in the map for in-place manipulation.",1,null],[11,"insert","","Inserts a value",2,null],[11,"into_mut","","Converts the entry into a mutable reference to its value.",3,null],[11,"or_insert","","Ensures a value is in the entry by inserting the default if empty, and returns\na mutable reference to the value in the entry.",0,null],[11,"or_insert_with","","Ensures a value is in the entry by inserting the result of the default function if empty,\nand returns a mutable reference to the value in the entry.",0,null]],"paths":[[4,"Entry"],[3,"LruCache"],[3,"VacantEntry"],[3,"OccupiedEntry"]]}; initSearch(searchIndex);