Connection
An active QUIC connection to a remote endpoint.
Functions
Accept the next incoming unidirectional stream.
If the connection is closed, the reason why. None if still open.
Bytes available in the datagram send buffer.
Maximum size of a datagram that can currently be sent.
Open a new unidirectional outgoing stream.
A snapshot of all currently open network paths for this connection.
Read the next datagram from the connection.
The `EndpointId` of the remote peer.
Send a datagram on this connection.
Like `Connection::send_datagram` but waits for capacity if the send buffer is full.
Set the maximum number of concurrent incoming bidirectional streams.
Set the maximum number of concurrent incoming unidirectional streams.
Set the receive window for this connection.
A flat snapshot of the most useful headline statistics for this connection.
Register a callback that fires for each individual path event (path opened, closed, selected, or lagged).
Register a callback that fires with the current set of open paths whenever the path list (or selected path) changes.