Available on crate features
hs-common
and vanguards
only.Expand description
This module provides the PathBuilder
helper for building vanguard TorPath
s.
Structs§
- Path
Builder 🔒 - A vanguard path builder.
Enums§
- HopKind 🔒
- The type of a
PathBuilder
hop.
Functions§
- exclude_
identities 🔒 - Build a
RelayExclusion
that excludes the specified relays. - exclude_
neighbors 🔒 - Create a
RelayExclusion
suitable for selecting the next hop to add tohops
. - select_
middle_ 🔒for_ vanguard_ circ - Select a middle relay that can be appended to a vanguard circuit.
- selector_
excluding_ 🔒neighbors - Extend the selector T to also exclude neighbors, based on
hops
.