[ 
https://issues.apache.org/jira/browse/THRIFT-4100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer resolved THRIFT-4100.
--------------------------------
    Fix Version/s: 0.17.0
         Assignee: Jens Geyer
       Resolution: Fixed

> 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
>            Assignee: Jens Geyer
>            Priority: Minor
>             Fix For: 0.17.0
>
>          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)

Reply via email to