[−][src]Crate mac_address
mac_address
provides a cross platform way to retrieve the MAC address of
network hardware. See the Wikipedia
entry for more information.
Supported platforms: Linux, Windows, MacOS
Structs
MacAddress | Contains the individual bytes of the MAC address. |
MacAddressIterator | An iterator over all available MAC addresses on the system. |
Enums
MacAddressError | Possible errors when attempting to retrieve a MAC address. |
MacParseError | An error that may occur when parsing a MAC address string. |
Functions
get_mac_address | Calls the OS-specific function for retrieving the MAC address of the first network device containing one, ignoring local-loopback. |
mac_address_by_name | Attempts to look up the MAC address of an interface via the specified name.
NOTE: On Windows, this uses the |