You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Allen George (JIRA)" <ji...@apache.org> on 2017/02/22 13:32:44 UTC
[jira] [Created] (THRIFT-4100) Extract Rust read/write struct
methods into a trait
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)