Module tor_provider

Source
Expand description

Traits and types for connecting to the Tor Network.

Structs§

DomainAddr
A domain name analog to std::net::SocketAddr
OnionAddrV3
A version 3 onion service address.
OnionListener
A wrapper around a std::net::TcpListener with some Tor-specific customisations.
OnionStream
A wrapper around a std::net::TcpStream with some Tor-specific customisations

Enums§

Error
Various tor_provider errors.
OnionAddr
An onion service address analog to std::net::SocketAddr
TargetAddr
An enum representing the various types of addresses a TorProvider implementation may connect to.
TorEvent
Various events possibly returned by a TorProvider implementation’s update() method.

Traits§

TorProvider
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§

CircuitToken
A CircuitToken is used to specify circuits used to connect to clearnet services.