Expand description
Blocking (synchronous) frame reader/writer for dedicated I/O threads.
Same length-prefixed framing as the async TCP/UDS transports, but uses
std::io::Read/Write directly. Used by the server’s reader and
response threads to avoid tokio task scheduling overhead on the hot path.
Structs§
- Blocking
Frame Reader - Blocking frame reader. Reads length-prefixed frames from any
Readsource. - Blocking
Frame Writer - Blocking frame writer. Writes length-prefixed frames to any
Writesink.
Constants§
- MAX_
FRAME_ SIZE - Bound on one frame’s payload, after the 4-byte length prefix: the
same limit on every transport. A reader refuses a frame declaring
more, and
BlockingFrameWriterrefuses to write one, so an oversized frame is an error at its source rather than a dropped connection at the far end.