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
type Context
Required Methods
Implementors
impl<C> SimpleTimer for Box<FnMut(&mut Scope<C>) + Send>