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§
sourcefn mac_address(self) -> [u8; 6]
fn mac_address(self) -> [u8; 6]
Returns the MAC address of the Wi-Fi device.
Object Safety§
This trait is not object safe.