Function mac_address::get_mac_address [−][src]
pub fn get_mac_address() -> Result<Option<MacAddress>, MacAddressError>
Calls the OS-specific function for retrieving the MAC address of the first network device containing one, ignoring local-loopback.