Expand description
Types and code for mapping StreamIDs to streams on a circuit.
Structs§
- EndSent
Stream 🔒Ent - Entry for a stream where we have sent an END, or other message indicating that the stream is terminated.
- Open
Stream 🔒Ent - Entry for an open stream
- Open
Stream 🔒EntStream - Private wrapper over
OpenStreamEnt
. We implementfutures::Stream
for this wrapper, and not directly forOpenStreamEnt
, so that client code can’t directly access the stream. - Priority 🔒
- A priority for use with
StreamPollSet
. - Stream
Map 🔒 - A map from stream IDs to stream entries. Each circuit has one for each hop.
Enums§
- Closed
Stream 🔒Ent - The entry for a stream.
- Should
Send 🔒End - Return value to indicate whether or not we send an END cell upon terminating a given stream.
- Stream
EntMut 🔒 - Mutable reference to a stream entry.
- Terminate
Reason 🔒 - A reason for terminating a stream.
Functions§
- wrapping_
next_ 🔒stream_ id - Convenience function for doing a wrapping increment of a
StreamId
.