Function igd::search_gateway_from_timeout
source · [−]pub fn search_gateway_from_timeout(
ip: Ipv4Addr,
timeout: Duration
) -> Result<Gateway, SearchError>
Expand description
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.