monitord::networkd

Function parse_interface_state_files

Source
pub async fn parse_interface_state_files(
    states_path: &PathBuf,
    maybe_network_int_to_name: Option<HashMap<i32, String>>,
    maybe_connection: Option<&Connection>,
) -> Result<NetworkdState, Error>
Expand description

Parse interface state files in directory supplied