discover_on_interface

Function discover_on_interface 

Source
pub async fn discover_on_interface(
    timeout: Duration,
    interface: &str,
) -> Result<Vec<DeviceInfo>, GigeError>
Expand description

Discover devices only on the specified interface name. Discover devices only on the specified interface name.

When a user explicitly names an interface (including loopback like lo0), it is always included — the loopback filter only applies to the unfiltered discover call.