var searchIndex = {}; searchIndex["rotor_tools"] = {"doc":"","items":[[0,"timer","rotor_tools","Time utitities",null,null],[3,"Ticker","rotor_tools::timer","Ticker state machine",null,null],[3,"Interval","","Interval state machine",null,null],[5,"interval_func","","A helper function to create intervals from closures",null,{"inputs":[{"name":"scope"},{"name":"duration"},{"name":"f"}],"output":{"name":"response"}}],[6,"IntervalFunc","","A convenience type for declaring state machines",null,null],[8,"Timer","","A protocol for the state machine that put into the `Ticker`",null,null],[16,"Context","","",0,null],[10,"timeout","","Called when time elapsed",0,null],[10,"next_wakeup_time","","Calculates the next wakeup time",0,null],[8,"SimpleTimer","","The timer trait used in the `Ticker<Interval<T>>`",null,null],[16,"Context","","",1,null],[10,"timeout","","Called when time elapsed",1,null],[11,"new","","",2,{"inputs":[{"name":"scope"},{"name":"t"}],"output":{"name":"response"}}],[11,"create","","",2,{"inputs":[{"name":"seed"},{"name":"scope"}],"output":{"name":"response"}}],[11,"ready","","",2,null],[11,"spawned","","",2,null],[11,"timeout","","",2,null],[11,"wakeup","","",2,null],[11,"timeout","","",3,null],[11,"next_wakeup_time","","",3,null],[0,"sync","rotor_tools","Provides state machine that is guarded by Mutex",null,null],[3,"Mutexed","rotor_tools::sync","",null,null],[12,"0","","",4,null],[8,"Replaceable","","A trait which allows to replace the state machine with dummy/null/None",null,null],[10,"empty","","Return the empty value that may be used as replacement",5,null],[11,"restart","","Restart a state machine from `empty()` state",5,null],[11,"create","","",4,{"inputs":[{"name":"seed"},{"name":"scope"}],"output":{"name":"response"}}],[11,"ready","","",4,null],[11,"spawned","","",4,null],[11,"timeout","","",4,null],[11,"wakeup","","",4,null],[0,"loop_ext","rotor_tools","The traits which make main loop construction nicer",null,null],[8,"LoopExt","rotor_tools::loop_ext","Convenience enhancements to the main loop creator",null,null],[10,"add_and_fetch","","This method is useful for things that have a state machine and an\naccessor to it.",6,null],[8,"LoopInstanceExt","","Convenience enhancements to the main loop creator instance",null,null],[10,"add_and_fetch","","This method is useful for things that have a state machine and an\naccessor to it.",7,null]],"paths":[[8,"Timer"],[8,"SimpleTimer"],[3,"Ticker"],[3,"Interval"],[3,"Mutexed"],[8,"Replaceable"],[8,"LoopExt"],[8,"LoopInstanceExt"]]}; initSearch(searchIndex);