Module tonic::codec[][src]

Expand description

Generic encoding and decoding.

This module contains the generic Codec, Encoder and Decoder traits and a protobuf codec based on prost.

Structs

A specialized buffer to decode gRPC messages from.

Struct used to configure which encodings are enabled on a server or channel.

A specialized buffer to encode gRPC messages into.

A Codec that implements application/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