Module tor_config::misc
source · Expand description
Miscellaneous types used in configuration
This module contains types that need to be shared across various crates and layers, but which don’t depend on specific elements of the Tor system.
Structs§
- Boolean or
"auto"
configuration is invalid - Padding level configuration is invalid
- Specification of (possibly) something to listen on (eg, a port, or some addresses/ports)
Listen
configuration specified something not supported by application code
Enums§
- Boolean, but with additional
"auto"
option - How we (de) serialize a
BoolOrAuto
- Listen configuration is invalid
- One item in the
Listen
- One item in the list of a list-ish
Listen
, or the plain value - How we (de) serialize a
Listen
- Padding enablement - rough amount of padding requested
- How we (de) serialize a
PaddingLevel