Module tor_circmgr::hspool
source ยท Available on crate feature
hs-common
only.Expand description
Manage a pool of circuits for usage with onion services.
Modulesยง
- config ๐Configuration logic for
HsCircPool
. - pool ๐An internal pool object that we use to implement HsCircPool.
Structsยง
- An object to provide circuits for implementing onion services.
- HsCircStub ๐A hidden service circuit stub.
- Inner ๐The mutable state of an
HsCircPool
Enumsยง
- The (onion-service-related) purpose for which a given circuit is going to be used.
- HsCircStubKind ๐A kind of hidden service circuit stub.
Traitsยง
- Configuration for an
HsCircPool
.
Functionsยง
- Return true if we can extend a pre-built circuit
circ
totarget
. - Return true if we can still use a given pre-build circuit.
- Background task to launch onion circuits as needed.
- Background task to remove unusable circuits whenever the directory changes.