pub trait TSerializable: Sized {
    fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> Result<Self>;
    fn write_to_out_protocol(
        &self,
        o_prot: &mut dyn TOutputProtocol
    ) -> Result<()>; }
Expand description

Reads and writes the struct to Thrift protocols.

It is implemented in generated code for Thrift struct, union, and enum types.

Required Methods

Implementors