var searchIndex = {}; searchIndex["ratelimit"] = {"doc":"A token bucket ratelimiter for rust","items":[[3,"Ratelimit","ratelimit","",null,null],[3,"timespec","","",null,null],[12,"tv_sec","","",0,null],[12,"tv_nsec","","",0,null],[11,"clone","","",0,null],[11,"new","","create a new ratelimit instance",1,{"inputs":[{"name":"usize"},{"name":"u64"}],"output":{"name":"option"}}],[11,"run","","this should be run in a tight-loop in its own thread",1,null],[11,"clone_sender","","give a sender for client to use",1,null]],"paths":[[3,"timespec"],[3,"Ratelimit"]]}; initSearch(searchIndex);