[][src]Function igd::tokio::search_gateway_from_timeout

pub fn search_gateway_from_timeout(
    ip: Ipv4Addr,
    timeout: Duration,
    handle: &Handle
) -> Box<dyn Future<Item = Gateway, Error = SearchError>>

Search gateway, bind to the given interface and use the given duration for the timeout.

Bind to the given interface. The request will timeout after the given duration.