pub struct AsyncNetif<T> { /* private fields */ }Implementations§
Source§impl<T> AsyncNetif<T>where
T: NetifStatus,
impl<T> AsyncNetif<T>where
T: NetifStatus,
pub fn wrap( netif: T, event_loop: EspSystemEventLoop, timer_service: EspTaskTimerService, ) -> Self
pub fn is_up(&self) -> Result<bool, EspError>
pub async fn wait_netif_up(&mut self) -> Result<(), EspError>
pub async fn ip_wait_while<F: FnMut(&mut Self) -> Result<bool, EspError>>( &mut self, matcher: F, timeout: Option<Duration>, ) -> Result<(), EspError>
Trait Implementations§
Source§impl<T> NetifStatus for AsyncNetif<T>where
T: NetifStatus,
Available on esp_idf_comp_esp_timer_enabled and crate feature alloc only.
impl<T> NetifStatus for AsyncNetif<T>where
T: NetifStatus,
Available on
esp_idf_comp_esp_timer_enabled and crate feature alloc only.