Skip to main content

Module client

Module client 

Source
Expand description

Client-specific types and implementation.

Modules§

channel
Client channel code.
circuit
Multi-hop paths over the Tor network.
msghandler 🔒
A message handler trait for use with ClientTunnel::start_conversation.
reactor 🔒
Code to handle incoming cells on a circuit.
rpc
RPC support for client tor-proto objects.
stream
Implements Tor’s “stream“s from a client perspective

Structs§

CircuitPadder
A opaque handle to a padding implementation for a single hop.
CircuitPadderConfig
Builder for PaddingRules.
ClientTunnel
A low-level client tunnel API.
Conversation
Handle to use during an ongoing protocol exchange with a circuit’s last hop

Enums§

CircuitPadderConfigError
An error returned from validating a CircuitPadderConfig.
HopLocation
A precise position in a tunnel.
TargetHop
A position in a tunnel.

Functions§

resolvedval_to_result 🔒
Convert a ResolvedVal into a Result, based on whether or not it represents an error.