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.
- hspath 🔒
hs-common
- Code for building paths for HS circuits.
Structs§
- TorPath
- A list of Tor relays through the network.
Enums§
- Maybe
Owned 🔒Relay - Identifier for a relay that could be either known from a NetDir, or specified as an OwnedCircTarget.
- Owned
Path 🔒 - A path composed entirely of owned components.
- TorPath
Inner 🔒 - Non-public helper type to represent the different kinds of Tor path.
Traits§
- Anonymous
Path 🔒Builder - A path builder that builds multi-hop, anonymous paths.
Functions§
- ensure_
unique_ 🔒hops - Returns an error if the specified hop list contains duplicates.
- 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.