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`], [`Method`], [`Mapping`], [`InterfaceOption`], and the [`InterfaceBuilder`].
5//! These types 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;
14pub mod method;
15pub mod option;
16
17pub use family::{Family, FamilyParseError};
18pub use interface_builder::InterfaceBuilder;
19pub use interface_struct::Interface;
20pub use mapping::Mapping;
21pub use method::Method;
22pub use option::InterfaceOption;