Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Quinn: Orientation

Network protocolQUIC over UDPRevision c8b02d1

Quinn is a pure-Rust QUIC implementation split into three layers: quinn-proto is a deterministic protocol state machine with no I/O, quinn-udp handles efficient platform datagrams, and quinn turns the state machine into futures and streams for Tokio or smol.

UDP readiness → EndpointDriver → proto::Endpoint
→ ConnectionDriver → proto::Connection
→ stream event → wake exactly that application future

Design thesis

Quinn isolates protocol decisions from asynchronous I/O, then uses explicit drivers and targeted wakers to connect one UDP socket to many independent connections and streams.