Expand description
The core Message trait and DecodeOptions builder.
Every generated message type implements Message, which provides
encode/decode/merge methods and a two-pass serialization model
(compute_size populates a SizeCache, write_to
consumes it) that avoids the exponential-time problem affecting naïve
length-delimited encoders.
Structs§
- Decode
Options - Options for configuring message decoding behavior.
Constants§
- RECURSION_
LIMIT - Default recursion depth limit for decoding nested messages.
Traits§
- Message
- The core trait implemented by all protobuf message types.
- Message
Name - Compile-time access to a generated message’s protobuf identifiers.