Module tor_proto::stream

source ·
Expand description

Implements Tor’s “stream“s from a client perspective

A stream is an anonymized conversation; multiple streams can be multiplexed over a single circuit.

To create a stream, use crate::circuit::ClientCirc::begin_stream.

§Limitations

There is no fairness, rate-limiting, or flow control.

Structs§

Enums§

Traits§

  • ClientStreamCtrlstream-ctrl
    An object that lets the owner “control” a client stream.
  • A callback that can check whether a given stream request is acceptable immediately on its receipt.