Skip to main content

Module send_queue

Module send_queue 

Source
Expand description

Bounded outbound send-queue with OverflowStrategy. Phase 5.G of docs/full-port-plan.md.

The endpoint writer used to drain an unbounded mpsc which silently grew under sustained back-pressure. This module wraps that channel in a small VecDeque-backed queue with a bounded capacity and a configurable SendQueueOverflow policy.

Structs§

BoundedSendQueue
Bounded send queue for outbound endpoint envelopes (typed via T).

Enums§

SendOutcome
Result of a try_push.