Module data

Source
Expand description

Declare DataStream, a type that wraps RawCellStream so as to be useful for byte-oriented communication.

Structs§

ClientDataStreamCtrlstream-ctrl
An object used to control and monitor a data stream.
DataCmdChecker 🔒
A CmdChecker that enforces invariants for outbound data streams.
DataReader
The read half of a DataStream, implementing [futures::io::AsyncRead].
DataReaderImpl 🔒
Wrapper for the read part of a DataStream
DataStream
An anonymized stream over the Tor network.
DataStreamStatus 🔒 stream-ctrl
Shared status flags for tracking the status of as DataStream.
DataWriter
The write half of a DataStream, implementing [futures::io::AsyncWrite].
DataWriterImpl 🔒
Internal: the write part of a DataStream

Enums§

DataReaderState 🔒
An enumeration for the state of a DataReader.
DataStreamMsg 🔒
An allowable incoming message on a data stream.
DataWriterState 🔒
An enumeration for the state of a DataWriter.

Type Aliases§

BoxSyncFuture 🔒
Helper type: Like BoxFuture, but also requires that the future be Sync.