Module igd::tokio
[−]
[src]
Contains Tokio compatible implementations for finding a gateway and configuring port mappings
Structs
Gateway |
This structure represents a gateway found by the search functions. |
Functions
search_gateway |
Search gateway, bind to all interfaces and use a timeout of 3 seconds. |
search_gateway_from |
Search gateway, bind to the given interface and use a time of 3 seconds. |
search_gateway_from_timeout |
Search gateway, bind to the given interface and use the given duration for the timeout. |
search_gateway_timeout |
Search gateway, bind to all interfaces and use the given duration for the timeout. |