Trait rotor_tools::timer::SimpleTimer [] [src]

pub trait SimpleTimer {
    type Context;
    fn timeout(self, scope: &mut Scope<Self::Context>) -> Self;
}

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

Associated Types

Required Methods

Called when time elapsed

Implementors