Crate mac_address [] [src]

mac_address provides a cross platform way to retrieve the MAC address of network hardware. See the Wikipedia entry for more information.

Currenly does not support MacOS.

Structs

MacAddress

Contains the individual bytes of the MAC address.

Enums

MacAddressError

Possible errors when attempting to retrieve a MAC address.

Functions

get_mac_address

Calls the OS-specific function for retrieving the MAC address of the first network device that contains one.