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],[0,"compose","rotor_tools","Composition tools",null,null],[4,"Spawn","rotor_tools::compose","Composes two state machines where of the state machines spawns\nmultiple instances of another one",null,null],[13,"Spawner","","",8,null],[13,"Child","","",8,null],[8,"Spawner","","",null,null],[16,"Child","","",9,null],[16,"Seed","","",9,null],[10,"spawn","","",9,{"inputs":[{"name":"seed"},{"name":"scope"}],"output":{"name":"response"}}],[11,"create","","",8,null],[11,"ready","","",8,null],[11,"spawned","","",8,null],[11,"timeout","","",8,null],[11,"wakeup","","",8,null],[0,"uniform","rotor_tools","Uniform state machine abstraction",null,null],[3,"Uniform","rotor_tools::uniform","",null,null],[12,"0","","",10,null],[8,"Action","","",null,null],[16,"Context","","",11,null],[16,"Seed","","",11,null],[10,"create","","",11,{"inputs":[{"name":"seed"},{"name":"scope"}],"output":{"name":"response"}}],[10,"action","","",11,null],[11,"create","","",10,{"inputs":[{"name":"seed"},{"name":"scope"}],"output":{"name":"response"}}],[11,"ready","","",10,null],[11,"spawned","","",10,null],[11,"timeout","","",10,null],[11,"wakeup","","",10,null],[11,"spawn","","",10,null]],"paths":[[8,"Timer"],[8,"SimpleTimer"],[3,"Ticker"],[3,"Interval"],[3,"Mutexed"],[8,"Replaceable"],[8,"LoopExt"],[8,"LoopInstanceExt"],[4,"Spawn"],[8,"Spawner"],[3,"Uniform"],[8,"Action"]]}; initSearch(searchIndex);