Module tor_circmgr::path
source ยท Expand description
Code to construct paths through the Tor network
TODO: Iโm not sure this belongs in circmgr, but this is the best place I can think of for now. Iโm also not sure this should be public.
Modulesยง
- dirpath ๐Code to construct paths to a directory for non-anonymous downloads
- exitpath ๐Code for building paths to an exit relay.
- Code for building paths for HS circuits.
Structsยง
- A list of Tor relays through the network.
Enumsยง
- MaybeOwnedRelay ๐Identifier for a relay that could be either known from a NetDir, or specified as an OwnedCircTarget.
- OwnedPath ๐A path composed entirely of owned components.
- TorPathInner ๐Non-public helper type to represent the different kinds of Tor path.
Traitsยง
- AnonymousPathBuilder ๐A path builder that builds multi-hop, anonymous paths.
Functionsยง
- pick_path ๐Try to create and return a path corresponding to the requirements of this builder.
- select_guard ๐Try to select a guard corresponding to the requirements of this builder.