esp_idf_svc::netif::asynch

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", so this trait is not object safe.

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§