Module rotor_tools::timer [] [src]

Time utitities

Structs

Interval

Interval state machine

Ticker

Ticker state machine

Traits

SimpleTimer

The timer trait used in the Ticker<Interval<T>>

Timer

A protocol for the state machine that put into the Ticker

Functions

interval_func

A helper function to create intervals from closures

Type Definitions

IntervalFunc

A convenience type for declaring state machines