Trait esp_wifi::EspWifiTimerSource

source ·
pub trait EspWifiTimerSource: Sealed {
    // Required method
    fn timer(self) -> PeriodicTimer<'static, AnyTimer>;
}
Expand description

A trait to allow better UX for initializing esp-wifi.

This trait is meant to be used only for the init function. Calling timers() multiple times may panic.

Required Methods§

source

fn timer(self) -> PeriodicTimer<'static, AnyTimer>

Returns the timer source.

Implementations on Foreign Types§

source§

impl EspWifiTimerSource for PeriodicTimer<'static, AnyTimer>

source§

fn timer(self) -> PeriodicTimer<'static, AnyTimer>

Implementors§

source§

impl<T> EspWifiTimerSource for T
where T: IntoAnyTimer + Sealed,