Skip to main content

Module data

Module data 

Source
Expand description

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

Structsยง

ClientDataStreamCtrl
An object used to control and monitor a data stream.
DataReader
The read half of a DataStream, implementing futures::io::AsyncRead.
DataReaderImpl ๐Ÿ”’
Wrapper for the read part of a DataStream.
DataReaderInner ๐Ÿ”’
The inner reader for DataReader.
DataStream
An anonymized stream over the Tor network.
DataStreamStatus ๐Ÿ”’
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
DataWriterInner ๐Ÿ”’
The inner writer for DataWriter.
OutboundDataCmdChecker ๐Ÿ”’
A CmdChecker that enforces invariants for outbound data streams.

Enumsยง

ClientDataStreamMsg ๐Ÿ”’
An allowable incoming message on a client data stream.
DataReaderState ๐Ÿ”’
An enumeration for the state of a DataReaderInner.
DataWriterState ๐Ÿ”’
An enumeration for the state of a DataWriter.

Type Aliasesยง

BoxSyncFuture ๐Ÿ”’
Helper type: Like BoxFuture, but also requires that the future be Sync.
RateConfigStream ๐Ÿ”’
A stream of RateLimitedWriterConfig used to update a DynamicRateLimitedWriter.