[][src]Module tonic::codec

Generic encoding and decoding.

This module contains the generic Codec trait and a protobuf codec based on prost.

Structs

ProstCodec

A Codec that implements application/grpc+proto via the prost library..

Streaming

Streaming requests and responses.

Traits

Codec

Trait that knows how to encode and decode gRPC messages.

Decoder

Decoding of frames via buffers.

Encoder

Trait of helper objects to write out messages as bytes, for use with FramedWrite.