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.
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.