Module tor_circmgr::config
source ยท Expand description
Configuration logic for launching a circuit manager.
ยงSemver note
Most types in this module are re-exported by arti-client
.
Modulesยง
- Testing configuration, with public fields
Structsยง
- Configuration for circuit timeouts, expiration, and so on.
- Builder for
CircuitTiming
. - Wrapper struct to help derive_builder find the right types and methods
- Rules for building paths over the network.
- Builder for
PathConfig
. - Wrapper struct to help derive_builder find the right types and methods
- Configuration for preemptive circuits.
- Builder for
PreemptiveCircuitConfig
. - Wrapper struct to help derive_builder find the right types and methods
Traitsยง
- Configuration for a circuit manager
Functionsยง
- Return the default value for
request_max_retries
. - Return the default value for
max_dirtiness
. - Return default duration
- Return minimum circuits for an exit port
- Return default target ports
- Return default threshold
- Return the default list of reachable addresses (namely, โ:โ)
- Return the default request loyalty timeout.
- Return the default value for
request_max_retries
. - Return the default value for
request_timeout
. - ipv4_prefix_default ๐Default value for ipv4_subnet_family_prefix.
- ipv6_prefix_default ๐Default value for ipv6_subnet_family_prefix.
- Default value for long_lived_ports.
Type Aliasesยง
- LongLivedPorts ๐Type alias to help define long_lived_ports.
- PredictedPortsList ๐Built list of configured preemptive ports
- ReachableAddrs ๐Type alias for a list of reachable addresses.