Expand description
Traits and types for connecting to the Tor Network.
Structs§
- Domain
Addr - A domain name analog to
std::net::SocketAddr - Onion
Addr V3 - A version 3 onion service address.
- Onion
Listener - A wrapper around a
std::net::TcpListenerwith some Tor-specific customisations. - Onion
Stream - A wrapper around a
std::net::TcpStreamwith some Tor-specific customisations
Enums§
- Error
- Various
tor_providererrors. - Onion
Addr - An onion service address analog to
std::net::SocketAddr - Target
Addr - An enum representing the various types of addresses a
TorProviderimplementation may connect to. - TorEvent
- Various events possibly returned by a
TorProviderimplementation’supdate()method.
Traits§
- TorProvider
- The
TorProvidertrait allows for high-level Tor Network functionality. Implementations ay connect to the Tor Network, anonymously connect to both clearnet and onion-service endpoints, and host onion-services.
Type Aliases§
- Circuit
Token - A
CircuitTokenis used to specify circuits used to connect to clearnet services.