Expand description
Operations about QUIC connection IDs.
Structs§
- ArcCid
Cell - Shared connection ID cell. Most of the time, you should use this struct.
- ArcLocal
Cids - Shared local connection ID manager. Most times, you should use this struct.
- ArcRemote
Cids - Shared remote connection ID manager. Most of the time, you should use this struct.
- Borrowed
Cid - A borrowed connection ID, which will be returned back when it is dropped.
- Connection
Id - Connection ID in QUIC RFC 9000.
- Registry
- Connection ID registry.
Constants§
- MAX_
CID_ SIZE - The connection id length must not exceed 20 bytes. See
ConnectionId.
Traits§
- GenUnique
Cid - When issuing a CID to the peer, be careful not to duplicate other local connection IDs, as this will cause routing conflicts.
- Retire
Cid - Write
Connection Id - A BufMut extension trait, makes buffer more friendly to write connection ID.
Functions§
- be_
connection_ id - Parse a connection ID from the input buffer, nom parser style.
- be_
connection_ id_ with_ len - Parse a given
lenconnection ID from the input buffer, nom parser style.