Expand description
Generic encoding and decoding.
This module contains the generic Codec
, Encoder
and Decoder
traits
and a protobuf codec based on prost.
Structs§
- Settings for how tonic allocates and grows buffers.
- A specialized buffer to decode gRPC messages from.
- Struct used to configure which encodings are enabled on a server or channel.
- A specialized implementation of Body for encoding Result<Bytes, Status>.
- A specialized buffer to encode gRPC messages into.
- Prost
Codec prost
ACodec
that implementsapplication/grpc+proto
via the prost library.. - Streaming requests and responses.
Enums§
- The compression encodings Tonic supports.
Traits§
- Trait that knows how to encode and decode gRPC messages.
- Decodes gRPC message types
- Encodes gRPC message types