Expand description
Tokenless send pacing. Eligibility is a deadline, not a credit ledger.
Structs§
- Idle
Watch - Idle send fence. After
idle_uswith no send, further send is Closed. Reopen with the same generation is Replay (nonce reuse). A new generation is required. Wired into packet protection viaPacketProtection::seal_paced. - Pacer
Functions§
- on_
paced_ send - Charge
bytesagainst the pacing rate and pushnext_send_us. - set_
rate_ from_ window_ rtt - Rate ≈ window / smoothed_rtt (RFC 9002 pacing). Unknown RTT fails closed.
- wait_
until QdnfError::WouldBlockwhennow_usis still before the pacing deadline.