Skip to main content

Module incoming

Module incoming 

Source
Expand description

Incoming data stream cell handlers, shared by the relay and onion service implementations.

Structsยง

InboundDataCmdChecker ๐Ÿ”’
A CmdChecker that enforces invariants for inbound data streams.
IncomingCmdChecker ๐Ÿ”’
A CmdChecker that enforces correctness for incoming commands on unrecognized streams that have a non-zero stream ID.
IncomingStream
A pending request from the other end of the circuit for us to open a new stream.
IncomingStreamRequestContext
Information about a stream request, as passed to an IncomingStreamRequestFilter.
IncomingStreamRequestHandler ๐Ÿ”’
Data required for handling an incoming stream request.
StreamReqInfo ๐Ÿ”’
Information about an incoming stream request.

Enumsยง

IncomingDataStreamMsg ๐Ÿ”’
An allowable incoming message on an incoming data stream.
IncomingStreamRequest
The allowed incoming messages on an IncomingStream.
IncomingStreamRequestDisposition
What action to take with an incoming stream request.

Traitsยง

IncomingStreamRequestFilter
A callback that can check whether a given stream request is acceptable immediately on its receipt.

Type Aliasesยง

RelayCmdSet ๐Ÿ”’
Bit-vector used to represent a list of permitted commands.
StreamReqSender ๐Ÿ”’
MPSC queue containing stream requests