[
https://issues.apache.org/jira/browse/THRIFT-4100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer updated THRIFT-4100:
-------------------------------
Component/s: (was: Rust - Library)
> 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
> Reporter: Allen George
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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
(v8.20.1#820001)