Expand description
Declare DataStream, a type that wraps RawCellStream so as to be useful for byte-oriented communication.
Structs§
- Client
Data Stream Ctrl stream-ctrl
- An object used to control and monitor a data stream.
- Data
CmdChecker 🔒 - A
CmdChecker
that enforces invariants for outbound data streams. - Data
Reader - The read half of a
DataStream
, implementing [futures::io::AsyncRead
]. - Data
Reader 🔒Impl - Wrapper for the read part of a DataStream
- Data
Stream - An anonymized stream over the Tor network.
- Data
Stream 🔒Status stream-ctrl
- Shared status flags for tracking the status of as
DataStream
. - Data
Writer - The write half of a
DataStream
, implementing [futures::io::AsyncWrite
]. - Data
Writer 🔒Impl - Internal: the write part of a DataStream
Enums§
- Data
Reader 🔒State - An enumeration for the state of a DataReader.
- Data
Stream 🔒Msg - An allowable incoming message on a data stream.
- Data
Writer 🔒State - An enumeration for the state of a DataWriter.
Type Aliases§
- BoxSync
Future 🔒 - Helper type: Like BoxFuture, but also requires that the future be Sync.