pub async fn wait_for_non_loopback_interface_up<F: Unpin + FusedFuture + Future<Output = Result<Stopped>>>(
    interface_state: &StateProxy,
    wait_for_netmgr: &mut F,
    exclude_ids: Option<&HashSet<u64>>,
    timeout: Duration
) -> Result<(u64, String)>
Expand description

Waits for a non-loopback interface to come up with an ID not in exclude_ids.

Useful when waiting for an interface to be discovered and brought up by a network manager.

Returns the interface’s ID and name.