Function netsim::iface::get_mac_addr [] [src]

pub fn get_mac_addr(iface_name: &str) -> Result<MacAddr, GetMacAddrError>

Get an interface MAC address