Module control_connection

Source

Structs§

ControlResponse
Response returned by the Tor server in response to a command
OnionAddress
Onion address, containing a TorServiceId and a service port
OnionService
Definition of a Tor Onion service (AKA “hidden service”).
OnionServiceMapping
Mapping from an Onion service virtual port to a local listen address
ProtocolInfo
ProtocolInfo struct, contains information from the response to the PROTOCOLINFO command
TorControlConnection
Control connection, used to send commands to and receive responses from the Tor server

Enums§

ListenAddressParseError
Error returned when a given listen address type has a parse error
OnionServiceListener
You can listen for data for an onion service either through TCP or a unix socket
OnionServiceListenerStream
OnionServiceStream
A stream of data from an accepted listener socket
TorSocketAddr
Generalization of the std::net::SocketAddr for Tor communication. Clients can communicate with the Tor server either through the standard TCP connection, or through a Unix socket.