Skip to main content

Crate grpc_codec_prost

Crate grpc_codec_prost 

Source
Expand description

Protocol Buffers serialization for gRPC message payloads using Prost.

Messages are appended directly to the caller’s buffer, without a staging buffer, a Protobuf length delimiter, or a gRPC frame header. Decoding follows Protobuf rules, including acceptance of well-formed unknown fields.

Re-exports§

pub use prost as backend;

Structs§

ProstCodec
Encodes E and decodes D as individual Protobuf payloads.

Enums§

ProstCodecError
A Protobuf serialization failure, preserving the backend error as its source.