Expand description
Connection actor responsible for outbound frames.
The actor polls a shutdown token, high- and low-priority push queues,
and an optional response stream using a tokio::select! loop. The
biased keyword ensures high-priority messages are processed before
low-priority ones, with streamed responses handled last.
Structs§
- Connection
Actor - Actor driving outbound frame delivery for a connection.
- Connection
Channels - Bundles push queues with their shared handle for actor construction.
- Fairness
Config - Configuration controlling fairness when draining push queues.
Enums§
- Connection
State Error - Error returned when attempting to set an active output source while another source is already active.
Functions§
- active_
connection_ count - Return the current number of active connections.