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.
- Handshake
Subprotocols π - The enabled/disabled status of subprotocols that are allowed to be requested through a subprotocol request during a circuit handshake.
- Invalid
Handshake πSubprotocol Error - The subprotocol request had subprotocols that are not all supported in circuit handshakes.
- UniqId
- Process-unique identifier for a circuit.
ConstantsΒ§
- HOPS π
- Estimated upper bound for the likely number of hops.