Modules§
Macros§
Structs§
- Args
- Cancellation
Token - A token which can be used to signal a cancellation request to one or more tasks.
- Proxy
Parameters - Traffic
Status - UserKey
- Required for a username + password authentication.
Enums§
- ArgDns
- DNS query handling strategy
- Error
- Level
Filter - An enum representing the available verbosity level filters of the logger.
- Proxy
Type - Socket
Domain - Socket
Protocol
Constants§
Traits§
- Value
Enum - Parse arguments into enums.
Functions§
- general_
run_ async - Run the tun2proxy component with some arguments.
- run
- Run the proxy server
- tun2proxy_
set_ ⚠traffic_ status_ callback - Safety
Type Aliases§
Derive Macros§
- Value
Enum - Generates the
ValueEnumimpl.