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§
- flags
- Submodule containing various flags.
Structs§
- Address
- This structure represents a single address for a given interface.
- Hardware
Addr - HardwareAddr represents a hardware address (commonly known as a MAC address) of a given interface.
- Interface
- The
Interface
structure represents a single interface on the system. It also contains methods to control the interface.
Enums§
- Interfaces
Error - 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
Kind
represents the interface family (equivalent to thesa_family
field in thesockaddr
structure).- NextHop
- The next hop for an interface. See the individual variants for more information.
Type Aliases§
- Result
- A specialized Result type for this crate.