[][src]Function rsys::mac

pub fn mac(iface: &str) -> Result<String, Error>

Returns a MAC address of interface iface.

  • linux
    • by calling ip address show <iface> ...