Crate interfaces

source ·
Expand description

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

TODO: add more documentation on how to use.



  • Submodule containing various flags.


  • 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.


  • 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.