Expand description
Main implementation of the connection functionality
Macrosยง
- Data
Tunnel ๐ - Given
R, MwhereM: 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
IptSortKeyrepresenting 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 ๐Data - Mock for onion service client data tunnel.
- Mockable
Client ๐Dir - Mock for onion service client directory tunnel.
- Mockable
Client ๐Intro - Mock for onion service client introduction tunnel.
- 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
Datathat relates to the HS descriptor - Data
Ipts ๐ - Part of
Datathat relates to our information about introduction points - IptSort
Rand ๐ - Random value used as part of IPT selection