Allen George created THRIFT-4100:
------------------------------------
Summary: Extract Rust read/write struct methods into a trait
Key: THRIFT-4100
URL: https://issues.apache.org/jira/browse/THRIFT-4100
Project: Thrift
Issue Type: Improvement
Components: Rust - Compiler, Rust - Library
Reporter: Allen George
Priority: Minor
Each struct/enum/union has two auto-generated methods:
# {{read_from_in_protocol}}
# {{write_to_out_protocol}}
It would be ideal to extract those two methods into a single trait
{{TSerializable}} that would allow code to be generic over *any* auto-generated
Thrift object.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)