esp_wifi

Trait 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,