Module connection

Module connection 

Source
Expand description

QUIC connection state machine and management

Structs§

Chunk
A chunk of data from the receive stream
Chunks
Chunks returned from RecvStream::read().
ClosedStream
Error indicating that a stream has not been opened or has already been finished or reset
Connection
Protocol state and logic for a single QUIC connection
ConnectionStats
Connection statistics
Datagrams
API to control datagram traffic
FrameStats
Number of frames transmitted of each frame type
PathStats
Statistics related to a transmission path
RecvStream
Access to streams
RttEstimator
RTT estimation for a particular network path
SendStream
Access to streams
ShouldTransmit
Indicates whether a frame needs to be transmitted
Streams
Access to streams
UdpStats
Statistics about UDP datagrams transmitted or received on a connection
Written
Indicates how many bytes and chunks had been transferred in a write operation

Enums§

ConnectionError
Reasons why a connection might be lost
Event
Events of interest to the application
FinishError
Reasons why attempting to finish a stream might fail
ReadError
Errors triggered when reading from a recv stream
ReadableError
Errors triggered when opening a recv stream for reading
SendDatagramError
Errors that can arise when sending a datagram
State
Connection state machine states
StreamEvent
Application events about streams
WriteError
Errors triggered while writing to a send stream