Module codec
Expand description
Generic encoding and decoding.
This module contains the generic Codec, Encoder and Decoder traits.
Structs§
- Buffer
Settings - Settings for how rama-grpc 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 client (channel).
- Encode
Body - A specialized implementation of [Body] for encoding Result<Bytes, Status>.
- Encode
Buf - A specialized buffer to encode gRPC messages into.
- Streaming
- Streaming requests and responses.
Enums§
- Compression
Encoding - The compression encodings rama-grpc supports.
- Single
Message Compression Override - Controls compression behavior for individual messages within a stream.