Module incoming

Source
Available on crate feature hs-service only.
Expand description

Functionality for incoming streams, opened from the other side of a circuit.

Structs§

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.

Enums§

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.