Module protobuf
Expand description
protocol buffer (protobuf) support for rama-grpc
Protocol Buffers are language-neutral, platform-neutral extensible mechanisms for serializing structured data.
§Prost Codec
This crate provides the ProstCodec for encoding and decoding protobuf
messages using the prost library, which is also re-exported here.
§Types
The types submodule contains a collection of useful protobuf types
that can be used with the rest of rama-grpc.
§What Are Protocol Buffers?
Protocol buffers are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages.
Modules§
- prost
- Re-export of prost and prost-types crates.
- types
- A collection of useful protobuf types that can be used with
rama-grpc.
Structs§
- Prost
Codec - A
Codecthat implementsapplication/grpc+protovia the prost library. - Prost
Decoder - A
Decoderthat knows how to decodeU. - Prost
Encoder - A
Encoderthat knows how to encodeT.