ifstructs 0.1.0

A Rust library with native bindings to unix if* structures
Documentation

ifstructs

A Rust library with native bindings to unix if* structures

Build Status Latest version Documentation License

Usage

First, add the following to your Cargo.toml:

[dependencies]
ifstructs = "0.0.1"

Next, add this to your crate:

extern crate ifstructs;

use ifstructs::ifreq;

fn main() {
  let mut req = ifreq::from_name("eth0").unwrap();
  
  ...
}