Expand description
The gin-tonic-core library handles protobuf encode and decoding
Modules§
- macros
- a collection of macros to encode/decode data. Mainly used by the derive macros of gin_tonic_derive
- types
Macros§
- decode_
field - decode_
map - decode_
nested - decode_
vector - decode_
vector_ nested - encode_
field - encode_
map - encode_
nested - encode_
vector_ nested - encode_
vector_ packed - encode_
vector_ unpacked - encode_
vector_ unpacked_ clone
Structs§
- Size
Hint - an Encode implementation that does not actually encode data but calculates the size it will need
Enums§
- Decode
Error - decoding protobuf can end up in errors which are handled in this enumeration
Constants§
Traits§
- Decode
- main decode trait, currenlty implemented for anything that implements bytes::Buf
- Encode
- main encode trait, currently implement for anything that implements bytes::BufMut and SizeHint
- Tag
- a protobuf tag is a u32 the combines the field number and a wire type