Skip to main content

DemuxQueue

Type Alias DemuxQueue 

Source
pub type DemuxQueue = Arc<Mutex<VecDeque<(Vec<u8>, SocketAddr, Option<i128>)>>>;
Expand description

Inbound datagram queue for a DgramSock::demux socket. The unified endpoint’s demux reader classifies each datagram by its first wire byte and pushes (bytes, from, kernel_ts) onto the matching code’s queue; that code’s receiver pops it through the normal recv_* surface, unmodified.

Aliased Type§

pub struct DemuxQueue { /* private fields */ }