Function mac_address::get_mac_address

source ·
pub fn get_mac_address() -> Result<Option<MacAddress>, MacAddressError>
Expand description

Calls the OS-specific function for retrieving the MAC address of the first network device containing one, ignoring local-loopback.