Module flow_control

Source
Expand description

Code for implementing flow control (stream-level).

Structs§

DrainRateRequest 🔒
A marker type for a NotifySender indicating that notifications are for new drain rate requests.
StreamFlowControl 🔒
Manages flow control for a stream.
StreamRateLimit 🔒
A newtype wrapper for a tor stream rate limit that makes the units explicit.
XonXoffControl 🔒
Control state for XON/XOFF flow control.

Enums§

LastSentXonXoff 🔒
The last XON/XOFF message that we sent.
StreamFlowControlEnum 🔒
Private internals of StreamFlowControl.

Constants§

CC_XOFF_CLIENT 🔒 flowctl-cc
The threshold number of incoming data bytes buffered on a stream at which we send an XOFF.