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.
MacrosΒ§
- impl_
not_ πauto_ value_ for_ types - A helper for calling
impl_not_auto_valuefor a number of types.
StructsΒ§
- Invalid
Bool OrAuto - Boolean or
"auto"configuration is invalid - Invalid
Padding πLevel - Padding level configuration is invalid
EnumsΒ§
- Bool
OrAuto - Boolean, but with additional
"auto"option - Bool
OrAuto πSerde - How we (de) serialize a
BoolOrAuto - Explicit
OrAuto - A serializable value, or auto.
- Padding
Level - Padding enablement - rough amount of padding requested
- Padding
Level πSerde - How we (de) serialize a
PaddingLevel
TraitsΒ§
- NotAuto
Value - A marker trait for types that do not serialize to the same value as
ExplicitOrAuto::Auto.