Expand description
Main implementation of the connection functionality
Macros§
- Client
Circ 🔒 - Given
R, M
whereM: MocksForConnect<M>
, expand to the mockableClientCirc
Structs§
- Context 🔒
- Common context for a single request to connect to a hidden service
- Data
- Information about a hidden service, including our connection history
- Introduced 🔒
- Details of an apparently-successful INTRODUCE exchange
- IptExperience 🔒
- How things went last time we tried to use this introduction point
- IptSort
Key 🔒 - Sort key for an introduction point, for selecting the best IPTs to try first
- Relay
IdFor 🔒Experience - Lookup key for looking up and recording our IPT use experiences
- Rendezvous 🔒
- Details of an established rendezvous point
- Usable
Intro 🔒Pt - Details of an apparently-useable introduction point
Enums§
- IptSort
KeyOutcome 🔒 - Component of the
IptSortKey
representing outcome of our last attempt, if any
Constants§
- HOPS 🔒
- Number of hops in our hsdir, introduction, and rendezvous circuits
Traits§
- Mockable
Circ 🔒Pool - Mock for
HsCircPool
- Mockable
Client 🔒Circ - Mock for
ClientCirc
- Mocks
ForConnect 🔒 - Mocks used for testing
connect.rs
Functions§
- connect 🔒
- Actually make a HS connection, updating our recorded state as necessary
Type Aliases§
- Data
HsDesc 🔒 - Part of
Data
that relates to the HS descriptor - Data
Ipts 🔒 - Part of
Data
that relates to our information about introduction points - IptSort
Rand 🔒 - Random value used as part of IPT selection