Expand description
Traits and types for connecting to the Tor Network.
Structs§
- DomainAddr 
- A domain name analog to std::net::SocketAddr
- OnionAddr V3 
- A version 3 onion service address.
- OnionListener 
- A wrapper around a std::net::TcpListenerwith some Tor-specific customisations.
- OnionStream 
- A wrapper around a std::net::TcpStreamwith some Tor-specific customisations
Enums§
- Error
- Various tor_providererrors.
- OnionAddr 
- An onion service address analog to std::net::SocketAddr
- TargetAddr 
- 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§
- CircuitToken 
- A CircuitTokenis used to specify circuits used to connect to clearnet services.
- ConnectHandle 
- A ConnectHandleis used to associate a connect request with returned stream