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_value
for 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
.