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
- HsDesc
ForTp ๐ - An onion service descriptor and its associated HsBlindId.
- Introduced ๐
- Details of an apparently-successful INTRODUCE exchange
- IptExperience ๐
- How things went last time we tried to use this introduction point
- IptExperience
Map ๐ - Marker type, to make typed Ipt exprience
RelayIdForkeys - IptSort
Key ๐ - Sort key for an introduction point, for selecting the best IPTs to try first
- Refetch
Descriptor ๐ - Token indicating that a descriptor fetch is wanted
- Relay
IdFor ๐ - Lookup key for looking up and recording information about a relay
- Rendezvous ๐
- Details of an established rendezvous point
- Requery
Period ๐Map - Marker type, to make typed HsDir
RelayIdForkeys - Usable
Intro ๐Pt - Details of an apparently-useable introduction point
Enumsยง
- IptSort
KeyOutcome ๐ - Component of the
IptSortKeyrepresenting outcome of our last attempt, if any
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
HsDirs ๐ - Part of
Datathat relates to our information about the HsDir requery periods - Data
Ipts ๐ - Part of
Datathat relates to our information about introduction points - IptSort
Rand ๐ - Random value used as part of IPT selection
- Relay
IdFor ๐Experience - Lookup key for looking up and recording our IPT use experiences
- Relay
IdFor ๐Requery Period - Lookup key for looking up and recording our IPT use experiences