Crate interfaces[][src]

Expand description

A library for interoperating with the network interfaces of a system.

TODO: add more documentation on how to use.

Re-exports

pub use flags::InterfaceFlags;

Modules

Submodule containing various flags.

Structs

This structure represents a single address for a given interface.

HardwareAddr represents a hardware address (commonly known as a MAC address) of a given interface.

The Interface structure represents a single interface on the system. It also contains methods to control the interface.

Enums

InterfacesError is the error type that is returned by all functions in this crate. See the documentation on the individual variants for more information.

Kind represents the interface family (equivalent to the sa_family field in the sockaddr structure).

The next hop for an interface. See the individual variants for more information.

Type Definitions

A specialized Result type for this crate.