Crate compact_thrift_runtime

Crate compact_thrift_runtime 

Source

Modules§

macros

Macros§

thrift
Parse several thrift struct / union / enum / namespace definitions and generate the corresponding Rust types and code to read and write those types.
thrift_enum
Generate the type and CompactThriftProtocol implementation for a thrift enum.
thrift_struct
Generate the type and CompactThriftProtocol implementation for a thrift struct.
thrift_union
Generate the type and CompactThriftProtocol implementation for a thrift union.

Structs§

CompactThriftInputSlice
FieldName
Store static strings used by field names as a single pointer to reduce size of the error enum.

Enums§

ThriftError

Constants§

MAX_BINARY_LEN
MAX_COLLECTION_LEN

Traits§

CompactThriftInput
CompactThriftOutput
CompactThriftProtocol

Functions§

read_collection_len_and_type
read_map_len_and_types