pub trait TimerService: Errors {
    type Timer: OnceTimer<Error = Self::Error> + PeriodicTimer<Error = Self::Error> + 'static;
    fn timer(
        &mut self,
        callback: impl FnMut() + Send + 'static
    ) -> Result<Self::Timer, Self::Error>; }

Associated Types

Required methods

Implementations on Foreign Types

Implementors