Module mesh_protobuf::encoding
source · Expand description
Protobuf encodings for Rust types.
Structs§
- A wrapper encoding for reference-counted data.
- A field encoder for fixed-sized arrays.
- A wrapper encoding for boxed data.
- A field encoder for u8.
- A field encoder for byte streams.
- An encoding derived by
mesh_derive
forT
. - Protobuf-compatible encoding for
Duration
. - A field encoder for fixed32 fields.
- A field encoder for fixed64 fields.
- A field encoder for fields that should be ignored.
- A field and message encoder for fields that cannot be instantiated.
- A field encoder for maps from
K
toV
, using encodersEK
andEV
. - A field encoding for message encoding implementations.
- A field encoder for
Option
. - A field encoder for types that can be converted to and from OS resource type
T
. - An encoder for
SerializedMessage
. - A field encoder for signed (zigzag encoded) varint fields.
- A field encoder for strings.
- A field encoder for u128.
- A field encoder for varint fields.
- A field encoder for
Vec
. - A field encoding for C-format structs.
Traits§
- A
FixedNumber
can be converted to a u32 or u64 type for use with fixed64 and fixed32 fields. - A trait for converting a value to from u64 for use in varint encodings.
- A trait for converting a value to a u64 for use in varint encodings.