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.
- circhop 🔒
- Module exposing structures relating to a reactor’s view of a circuit hop.
- syncview 🔒
- Implement synchronous views of circuit internals.
- unique_
id 🔒 - Unique identifiers for circuits.
Structs§
- Circ
Parameters - Description of the network’s current rules for building circuits.
- Circ
Sync View - An object that represents a view of a circuit’s internals, usable in a synchronous callback.
- UniqId
- Process-unique identifier for a circuit.
Type Aliases§
- Circuit
RxReceiver 🔒 - MPSC queue for inbound data on its way from channel to circuit, receiver
- Circuit
RxSender 🔒 - The following two MPSCs take any channel message as the receiving end can be either a client or a relay circuit reactor. The reactor itself will convert into its restricted message set. On error, the circuit will shutdown as it will be considered a protocol violation.