Skip to main content

Module reader

Module reader 

Source
Expand description

A wrapper for an AsyncRead to support XON/XOFF flow control.

This allows any AsyncRead that implements BufferIsEmpty to be used with XON/XOFF flow control.

Structsยง

DrainRateRequest ๐Ÿ”’
A marker type for a NotifySender indicating that notifications are for new drain rate requests.
XonXoffReader ๐Ÿ”’
A wrapper for an AsyncRead to support XON/XOFF flow control.
XonXoffReaderCtrl ๐Ÿ”’
The control structure for a stream that partakes in XON/XOFF flow control.

Traitsยง

BufferIsEmpty ๐Ÿ”’
Used by the XonXoffReader to decide when to send a drain rate update (typically resulting in an XON message).