Struct rotor_tools::timer::Interval [] [src]

pub struct Interval<M: SimpleTimer>(_, _);

Interval state machine

It's the state machine used for ticker that wakes up with fixed intervals

Trait Implementations

impl<T: SimpleTimer> Timer for Interval<T>

type Context = T::Context

fn timeout(self, scope: &mut Scope<Self::Context>) -> Self

fn next_wakeup_time(&self, scheduled: Time, scope: &mut Scope<Self::Context>) -> Time