interface_rs/interface/
mod.rs

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

pub mod family;
pub mod interface_builder;
pub mod interface_struct;
pub mod mapping;

pub use family::{Family, FamilyParseError};
pub use interface_builder::InterfaceBuilder;
pub use interface_struct::Interface;
pub use mapping::Mapping;