Expand description
Contains encoding and decoding helpers.
Modules§
- buf
- Utilities for working with buffers.
Structs§
- Alpn
- A version number negotiated during the setup.
- Bounds
Exceeded - The number is too large to fit in a VarInt (62 bits).
- Bytes
- A cheaply cloneable and sliceable chunk of contiguous memory.
- Bytes
Mut - A unique reference to a contiguous slice of memory.
- Reader
- A reader for decoding messages from a stream.
- Sizer
- A BufMut implementation that only counts the size of the buffer.
- Stream
- A Writer and Reader pair for a single stream.
- TryGet
Error - Error type for the
try_get_methods ofBuf. Indicates that there were not enough remaining bytes in the buffer while attempting to get a value from aBufwith one of thetry_get_methods. - VarInt
- An integer less than 2^62
- Version
- A version number negotiated during the setup.
- Versions
- A list of versions in preferred order.
- Writer
- A wrapper around a web_transport_trait::SendStream that will reset on Drop.
Enums§
- Decode
Error - A decode error.