Module fbthrift_git::protocol

source ·

Structs

Constants

Traits

  • An instance of Protocol glues a Framing implementation to a serializer (ProtocolWriter) and deserializer (ProtocolReader). It constructs, as needed, a serializer to construct a frame with a given protocol, or a deserializer from a frame into a stream of deserialized objects.
  • Trait for decoding a frame in a given protocol
  • Trait for emitting a frame formatted in a given protocol

Functions

Type Aliases

  • Helper type alias to get the buffer type for a frame to be decoded.
  • Helper type alias to get the pre-finalization encoded type of a protocol frame.
  • Helper type alias to get the final encoded type of a protocol frame