pub fn interfaces() -> Vec<Interface> {
    pcap::interfaces()
        .into_iter()
        .filter(|inter| !inter.is_loopback)
        .collect()
}
/// Gets a list of available network interfaces for the current machine.
Gets a list of available network interfaces for the current machine.
Gets a list of available network interfaces for the current machine .
pub fn interfaces() -> Vec<Interface> {
    pcap::interfaces()
        .into_iter()
        .filter(|inter| !inter.is_loopback)
        .collect()
}
pub fn interfaces ( ) -> Vec < Interface > { pcap :: interfaces ( ) . into_iter ( ) . filter ( | inter | ! inter . is_loopback ) . collect ( ) }
Gets a list of available network interfaces for the current machine.
Gets a list of available network interfaces for the current machine .