Module tor_interface::tor_provider
source · Expand description
Traits and types for connecting to the Tor Network.
Structs§
- A domain name analog to
std::net::SocketAddr
- A version 3 onion service address.
- A wrapper around a
std::net::TcpListener
with some Tor-specific customisations. - A wrapper around a
std::net::TcpStream
with some Tor-specific customisations
Enums§
- Various
tor_provider
errors. - An onion service address analog to
std::net::SocketAddr
- An enum representing the various types of addresses a
TorProvider
implementation may connect to. - Various events possibly returned by a
TorProvider
implementation’supdate()
method.
Traits§
- The
TorProvider
trait 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§
- A
CircuitToken
is used to specify circuits used to connect to clearnet services.