qrecovery

Module streams

Source
Expand description

The internal implementation of the QUIC stream.

If you want to know how to create a stream, see the QuicConnection in another crate for more.

If you want to know how to use a stream, see the Reader and Writer for more details.

The structure in this module does not have the ability to actually send and receive frames, or sense the loss or confirmation of frames. These functions are implemented by other modules. This module provides the ability to generate frames, process frames, handle the frame lost and acked, manage the state of all streams.

DataStreams provides a large number of APIs for other blocks to call to achieve the above functions. It corresponds to all streams on the connection.

Incoming andOutgoing correspond to the input and output of a stream. They manage the sending and receiving state machines and provide APIs for DataStream to use.

Modules§

Structs§