list_interfaces

Function list_interfaces 

Source
pub fn list_interfaces() -> Vec<InterfaceInfo>
Expand description

Enumerate all network interfaces on this host.

Returns an empty Vec on unsupported platforms or when the OS call fails.