Module tonic::codec

source ·
Expand description

Generic encoding and decoding.

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

Structs§

Enums§

Traits§

  • Trait that knows how to encode and decode gRPC messages.
  • Decodes gRPC message types
  • Encodes gRPC message types