interface_rs/interface/
mod.rs

1//! Module containing definitions related to network interfaces.
2//!
3//! This module provides the [`Interface`] struct and related enums and structs
4//! such as [`Family`], [`Mapping`], and the [`InterfaceBuilder`]. These types
5//! are used to represent and manipulate network interface configurations in an
6//! `interfaces(5)` file.
7//!
8//! Refer to the `interfaces(5)` manual page for details on the file format.
9
10pub mod family;
11pub mod interface_builder;
12pub mod interface_struct;
13pub mod mapping;
14
15pub use family::{Family, FamilyParseError};
16pub use interface_builder::InterfaceBuilder;
17pub use interface_struct::Interface;
18pub use mapping::Mapping;