var searchIndex = {}; searchIndex["accumulator"] = {"doc":"# Accumulator","items":[[3,"Accumulator","accumulator","Implementation of [Accumulator](index.html#accumulator).",null,null],[11,"with_capacity","","Constructor for capacity based `Accumulator`.",0,{"inputs":[{"name":"usize"},{"name":"usize"}],"output":{"name":"accumulator"}}],[11,"with_duration","","Constructor for time based `Accumulator`.",0,{"inputs":[{"name":"usize"},{"name":"duration"}],"output":{"name":"accumulator"}}],[11,"contains_key","","Returns whether `key` exists in the accumulator or not.",0,null],[11,"is_quorum_reached","","Returns whether `key` exists and has accumulated `quorum` or more corresponding values.",0,null],[11,"add","","Adds a key-value pair.",0,null],[11,"get","","Retrieves a clone of the values accumulated under `key`, or `None` if `key` doesn't exist.",0,null],[11,"delete","","Removes `key` and all corresponding accumulated values.",0,null],[11,"cache_size","","Returns the size of the accumulator, i.e. the number of keys held.",0,null],[11,"set_quorum_size","","Sets a new value for `quorum`.",0,null]],"paths":[[3,"Accumulator"]]}; initSearch(searchIndex);