Crate tor_dirmgr[−][src]
Expand description
tor-dirmgr
: Code to fetch, store, and update Tor directory information.
Overview
This crate is part of Arti, a project to implement Tor in Rust.
In its current design, Tor requires a set of up-to-date authenticated directory documents in order to build multi-hop anonymized circuits through the network.
This directory manager crate is responsible for figuring out which directory information we lack, downloading what we’re missing, and keeping a cache of it on disk.
Re-exports
pub use authority::Authority; |
Modules
authority | Information about directory authorities |
Structs
DirMgr | A directory manager to download, fetch, and cache a Tor directory. |
DirMgrConfig | Configuration type for network directory operations. |
DirMgrConfigBuilder | Builder for a |
DocumentText | A document returned by a directory manager. |
DownloadScheduleConfig | Configuration information for how exactly we download things from the Tor directory caches. |
DownloadScheduleConfigBuilder | Builder for a |
NetworkConfig | Configuration information about the Tor network iteslf; used as part of Arti’s configuration. |
NetworkConfigBuilder | An object used to build a network configuration. You shouldn’t need to use one of these directly for working on the standard Tor network; the defaults are correct for use there. |
Enums
DocId | The identity of a single document, in enough detail to load it from storage. |
Error | An error originated by the directory manager code |