Trait esp_wifi::wifi::WifiDeviceMode

source ·
pub trait WifiDeviceMode: Sealed {
    // Required methods
    fn mode(self) -> WifiMode;
    fn mac_address(self) -> [u8; 6];
}
Expand description

Provides methods for retrieving the Wi-Fi mode and MAC address.

Required Methods§

source

fn mode(self) -> WifiMode

Returns the currently active Wi-Fi mode.

source

fn mac_address(self) -> [u8; 6]

Returns the MAC address of the Wi-Fi device.

Object Safety§

This trait is not object safe.

Implementors§