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