Crate if_addrs

Source

Structs§

IfChangeNotifierNon-Apple or non-FreeBSD or non-NetBSD or non-OpenBSD
(Not available on iOS/macOS) A utility to monitor for interface changes and report them, so you can handle events such as WiFi disconnection/flight mode/route changes
Ifv4Addr
Details about the ipv4 address of an interface on this host.
Ifv6Addr
Details about the ipv6 address of an interface on this host.
Interface
Details about an interface on this host.

Enums§

IfAddr
Details about the address of an interface on this host.
IfChangeTypeNon-Apple or non-FreeBSD or non-NetBSD or non-OpenBSD

Functions§

get_if_addrsWindows
Get a list of all the network interfaces on this machine along with their IP info.