Struct rotor_tools::timer::Ticker
[−]
[src]
pub struct Ticker<M: Timer> { // some fields omitted }
Ticker state machine
The structure implements rotor::Machine
but exposes a simpler protocol
that has just one method which is called when timer expires.
The Ticker
machine also ensures that there are no spurious events.