Function interfaces
Source pub fn interfaces() -> Result<HashMap<InterfaceName, InterfaceData>>
Expand description
Get a directory of interfaces available on the current machine.
§Errors
May fail if the os is unable to provide a list of network interfaces.
§Panics
Panics if the os provides invalid interfaces.