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