Registry / networking / netif
library0.1.6rscratesunverified

List the network interfaces on the system.

# Cargo.toml [dependencies] netif = "0.1.6"
INSTALL
IMPORT
SIG · NETIF
N
netif
networkingrustv0.1.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NetworkInterface
use netif::NetworkInterface;

Lists all network interfaces on the system.

use netif::NetworkInterface; fn main() { for iface in NetworkInterface::list() { println!("Interface: {}", iface.name); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
netif — cargo add netif · libregistry