[][src]Function igd::tokio::search_gateway_timeout

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

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

Bind to all interfaces. The request will timeout after the given duration.