Expand description
Circuit-related types and helpers.
This code is shared between the client and relay implementations.
Re-exportsยง
pub use crate::memquota::StreamAccount;
Modulesยง
- cell_
sender ๐ - Implements an outbound Sink type for cells being sent from a circuit onto a channel.
- celltypes ๐
- Wrapper types for subsets of ChanMsg and RelayMsg types.
- circ_
sender ๐ - Implements a sender and a
Streamtype for sending messages from a channel to a circuit, prioritizing the delivery ofDESTROYmessages. - circhop ๐
- Module exposing structures relating to a reactorโs view of a circuit hop.
- create ๐
- Helpers for handling CREATE* cells.
- padding ๐
- Circuit padding
- reactor ๐
- Module exposing the circuit reactor subsystem.
- syncview ๐
- Implement synchronous views of circuit internals.
- unique_
id ๐ - Unique identifiers for circuits.
Structsยง
- Circ
HopSync View - A view of a circuit hopโs internals, usable in a synchronous callback.
- Circ
Parameters - Description of the networkโs current rules for building circuits.
- UniqId
- Process-unique identifier for a circuit.
Constantsยง
- HOPS ๐
- Estimated upper bound for the likely number of hops.