Expand description
Facilities to build circuits directly, instead of via a circuit manager.
Modules§
- guardstatus 🔒
- Helpers for reporting information about guard status to the guard manager.
Structs§
- Builder 🔒
- An implementation type for
CircuitBuilder
. - Circuit
Builder - A factory object to build circuits.
Traits§
- Buildable 🔒
- Represents an objects that can be constructed in a circuit-like way.
Functions§
- build_
cc_ 🔒fixedwindow - Return the congestion control FixedWindow algorithm using the given network parameters.
- build_
cc_ 🔒vegas flowctl-cc
- Return the congestion control Vegas algorithm using the given network parameters.
- circparameters_
from_ 🔒netparameters - Return a new circuit parameter struct using the given network parameters and algorithm to use.
- create_
common 🔒 - Try to make a [
PendingClientCirc
] to a given relay, and start its reactor. - double_
timeout 🔒 - Helper function: spawn a future as a background task, and run it with two separate timeouts.
- exit_
circparams_ from_ netparams - Extract a [
CircParameters
] from the [NetParameters
] from a consensus for an exit circuit or single onion service (when implemented). - onion_
circparams_ from_ netparams - Extract a [
CircParameters
] from the [NetParameters
] from a consensus for an onion circuit which also includes an onion service with Vanguard.