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 🔒 send-control-msg
A message handler trait for use with ClientTunnel::start_conversation.
reactor 🔒
Code to handle incoming cells on a circuit.
stream
Implements Tor’s “stream“s from a client perspective

Structs§

CircuitPaddercirc-padding-manual
A opaque handle to a padding implementation for a single hop.
CircuitPadderConfigcirc-padding-manual
Builder for PaddingRules.
ClientTunnel
A low-level client tunnel API.
Conversationsend-control-msg
Handle to use during an ongoing protocol exchange with a circuit’s last hop

Enums§

CircuitPadderConfigErrorcirc-padding-manual
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.