Trait embedded_svc::timer::TimerService
source · [−]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>;
}