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::TcpListener
with some Tor-specific customisations. - Onion
Stream - A wrapper around a
std::net::TcpStream
with some Tor-specific customisations
Enums§
- Error
- Various
tor_provider
errors. - Onion
Addr - An onion service address analog to
std::net::SocketAddr
- Target
Addr - An enum representing the various types of addresses a
TorProvider
implementation may connect to. - TorEvent
- Various events possibly returned by a
TorProvider
implementation’supdate()
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§
- Circuit
Token - A
CircuitToken
is used to specify circuits used to connect to clearnet services.