Module coding

Module coding 

Source
Expand description

This module contains encoding and decoding helpers.

Modules§

buf
Utilities for working with buffers.

Structs§

Alpn
A version number negotiated during the setup.
BoundsExceeded
Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.
BytesMut
A unique reference to a contiguous slice of memory.
Parameters
Reader
Sizer
Stream
TryGetError
Error type for the try_get_ methods of Buf. Indicates that there were not enough remaining bytes in the buffer while attempting to get a value from a Buf with one of the try_get_ methods.
VarInt
An integer less than 2^62
Version
A version number negotiated during the setup.
Versions
A list of versions in arbitrary order.
Writer

Enums§

DecodeError
A decode error.

Traits§

Buf
Read bytes from a buffer.
BufMut
A trait for values that provide sequential write access to bytes.
Decode
Encode