Skip to main content

NetifStatus

Trait NetifStatus 

Source
pub trait NetifStatus {
    // Required method
    async fn is_up(&self) -> Result<bool, EspError>;
}

Required Methods§

Source

async fn is_up(&self) -> Result<bool, EspError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> NetifStatus for &T
where T: NetifStatus,

Source§

async fn is_up(&self) -> Result<bool, EspError>

Source§

impl<T> NetifStatus for &mut T
where T: NetifStatus,

Source§

async fn is_up(&self) -> Result<bool, EspError>

Implementors§

Source§

impl NetifStatus for EspNetif

Source§

impl NetifStatus for EspWifi<'_>

Available on esp_idf_comp_esp_netif_enabled only.
Source§

impl<T> NetifStatus for AsyncEth<T>
where T: NetifStatus,

Available on esp_idf_comp_esp_netif_enabled and esp_idf_comp_esp_timer_enabled and crate feature alloc only.
Source§

impl<T> NetifStatus for AsyncNetif<T>
where T: NetifStatus,

Available on esp_idf_comp_esp_timer_enabled and crate feature alloc only.
Source§

impl<T> NetifStatus for AsyncWifi<T>
where T: NetifStatus,

Available on esp_idf_comp_esp_netif_enabled and esp_idf_comp_esp_timer_enabled and crate feature alloc only.
Source§

impl<T> NetifStatus for EspEth<'_, T>

Available on esp_idf_comp_esp_netif_enabled only.