Expand description
List of directories that ships with Tor, for initial directory operations.
When a client doesn’t have directory information yet, it uses a “Fallback Directory” to retrieve its initial information about the network.
§Semver note
The types in this module are re-exported from arti-client
and
tor-dirmgr
: any changes here must be reflected there.
Modules§
- set 🔒
- Declare the
FallbackState
type, which is used to store a set of FallbackDir.
Structs§
- Fallback
Dir - A directory whose location ships with Tor (or arti), and which we can use for bootstrapping when we don’t know anything else about the network.
- Fallback
DirBuilder - Builder for
FallbackDir
. - Fallback
List - A list of fallback directories.
- Fallback
List Builder - Wrapper struct to help derive_builder find the right types and methods
Functions§
- default_
fallbacks 🔒 - Return a list of the default fallback directories shipped with arti.