Expand description
Code for implementing flow control (stream-level).
Re-exportsΒ§
use std::sync::Arc;πuse postage::watch;πuse tor_cell::relaycell::flow_ctrl::Xoff;πuse tor_cell::relaycell::flow_ctrl::Xon;πuse tor_cell::relaycell::flow_ctrl::XonKBpsEwma;πuse tor_cell::relaycell::msg::AnyRelayMsg;πuse tor_cell::relaycell::RelayMsg;πuse tor_cell::relaycell::UnparsedRelayMsg;πuse super::params::FlowCtrlParameters;πuse super::window::state::HalfStreamWindowFlowCtrl;πuse super::window::state::WindowFlowCtrl;πuse super::xon_xoff::reader::DrainRateRequest;πuse super::xon_xoff::state::HalfStreamXonXoffFlowCtrl;πuse super::xon_xoff::state::XonXoffFlowCtrl;πuse crate::Result;πuse crate::congestion::sendme;πuse crate::util::notify::NotifySender;π
StructsΒ§
- Half
Stream πFlow Ctrl - Manages flow control for a half-stream (
HalfStream). - Stream
Flow πCtrl - Manages the circuit reactorβs flow control for a stream.
- Stream
Rate πLimit - A newtype wrapper for a tor stream rate limit that makes the units explicit.
EnumsΒ§
- Half
Stream πFlow Ctrl Inner - Private internals of
HalfStreamFlowCtrl. - Stream
Flow πCtrl Inner - Private internals of
StreamFlowCtrl. - With
Sidechannel πMitigations - Whether sidechannel mitigations are enabled or not for flow control.
TraitsΒ§
- Flow
Ctrl πHooks - Methods that can be called on a
StreamFlowCtrl. - Half
Stream πFlow Ctrl Hooks - Methods that can be called on a
HalfStreamFlowCtrl.