Expand description
This library allows you to communicate with an IGD enabled device.
Use one of the search_gateway
functions to obtain a Gateway
object.
You can then communicate with the device via this object.
Modules
- This module implements the same features as the main crate, but using async io.
Structs
- This structure represents a gateway found by the search functions.
- One port mapping entry as returned by GetGenericPortMappingEntry
- Gateway search configuration
Enums
- Errors returned by
Gateway::add_any_port
andGateway::get_any_address
- Errors returned by
Gateway::add_port
- An error type that emcompasses all possible errors.
- Errors returned by
Gateway::get_external_ip
- Errors than can occur while getting a port mapping
- Represents the protocols available for port mapping.
- Errors returned by
Gateway::remove_port
- Errors that can occur when sending the request to the gateway.
- Errors than can occur while trying to find the gateway.
Functions
- Search gateway, using the given
SearchOptions
.
Type Aliases
- A result type where the error is
igd::Error
.