Module config

Source
Expand description

This is the configuration module. It allows to configure the lib, using toml, args, or env vars.

Structs§

Address
Address is a struct that holds an IP address and a port It is used to configure the local and remote addresses for UDP
Config
Config holds the configuration for local and remote UDP addresses

Traits§

FromArguments
Configuration through arguments
FromDefault
Default configuration
FromEnv
Configuration through environment variables
FromToml
Configuration through TOML