var searchIndex = {}; searchIndex["message_filter"] = {"doc":"# Message Filter","items":[[3,"MessageFilter","message_filter","Implementation of [message filter](index.html#message-filter).",null,null],[11,"with_capacity","","Constructor for capacity based `MessageFilter`.",0,{"inputs":[{"name":"usize"}],"output":{"name":"messagefilter"}}],[11,"with_expiry_duration","","Constructor for time based `MessageFilter`.",0,{"inputs":[{"name":"duration"}],"output":{"name":"messagefilter"}}],[11,"with_expiry_duration_and_capacity","","Constructor for dual-feature capacity and time based `MessageFilter`.",0,{"inputs":[{"name":"duration"},{"name":"usize"}],"output":{"name":"messagefilter"}}],[11,"insert","","Adds a message to the filter.",0,null],[11,"remove","","Removes a message from the filter.",0,null],[11,"count","","Returns the number of times this message has already been inserted.",0,null],[11,"contains","","Removes any expired messages, then returns whether `message` exists in the filter or not.",0,null],[11,"len","","Returns the size of the filter, i.e. the number of added messages.",0,null],[11,"is_empty","","Returns whether there are no entries in the filter.",0,null]],"paths":[[3,"MessageFilter"]]}; initSearch(searchIndex);