[][src]Module fbthrift_git::protocol

Structs

Field

Constants

DEFAULT_RECURSION_DEPTH

The maximum recursive depth the skip() function will traverse

Traits

Protocol

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.

ProtocolReader

Trait for decoding a frame in a given protocol

ProtocolWriter

Trait for emitting a frame formatted in a given protocol

Functions

should_break
write_message

Helper for wrapping a response in a message envelope

Type Definitions

ProtocolDecoded

Helper type alias to get the buffer type for a frame to be decoded.

ProtocolEncoded

Helper type alias to get the pre-finalization encoded type of a protocol frame.

ProtocolEncodedFinal

Helper type alias to get the final encoded type of a protocol frame