Expand description
A tonic Codec for pbrs messages using Parse and Serialize.
Keeps tonic transport and middleware while using pbrs-generated messages.
Code that requires prost::Message needs an adapter.
Modules§
- hello
- Generated helloworld types and Greeter stubs.
Structs§
- Conversion
Error - Failure while converting between wire-compatible prost and pbrs messages.
- Protobuf
Codec - tonic
Codecusing pbrsSerialize/Parse(notprost::Message). - Protobuf
Decoder - Decoder half of
ProtobufCodec. - Protobuf
Encoder - Encoder half of
ProtobufCodec.
Functions§
- pbrs_
to_ prost - Convert a pbrs message to its wire-compatible prost representation.
- prost_
to_ pbrs - Convert a prost message to its wire-compatible pbrs representation.