Skip to main content

Module fallback

Module fallback 

Source
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.

Re-exports§

use base64ct::Base64Unpadded; 🔒
use base64ct::Encoding as _; 🔒
use derive_deftly::Deftly; 🔒
use tor_config::ConfigBuildError; 🔒
use tor_config::define_list_builder_accessors; 🔒
use tor_config::define_list_builder_helper; 🔒
use tor_llcrypto::pk::ed25519::Ed25519Identity; 🔒
use tor_llcrypto::pk::rsa::RsaIdentity; 🔒
use std::net::SocketAddr; 🔒
use tor_config::derive::prelude::*; 🔒

Structs§

FallbackDir
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.
FallbackDirBuilder
A builder to create an instance of FallbackDir.
FallbackList
A list of fallback directories.
FallbackListBuilder
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.