Trait parquet::thrift::TSerializable

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

Reads and writes the struct to Thrift protocols.

Unlike thrift::protocol::TSerializable this uses generics instead of trait objects

Required Methods§

source

fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<Self>

Reads the struct from the input Thrift protocol

source

fn write_to_out_protocol<T: TOutputProtocol>( &self, o_prot: &mut T, ) -> Result<()>

Writes the struct to the output Thrift protocol

Object Safety§

This trait is not object safe.

Implementors§

source§

impl TSerializable for BloomFilterAlgorithm

source§

impl TSerializable for BloomFilterCompression

source§

impl TSerializable for BloomFilterHash

source§

impl TSerializable for ColumnCryptoMetaData

source§

impl TSerializable for ColumnOrder

source§

impl TSerializable for EncryptionAlgorithm

source§

impl TSerializable for LogicalType

source§

impl TSerializable for TimeUnit

source§

impl TSerializable for AesGcmCtrV1

source§

impl TSerializable for AesGcmV1

source§

impl TSerializable for BloomFilterHeader

source§

impl TSerializable for BoundaryOrder

source§

impl TSerializable for BsonType

source§

impl TSerializable for ColumnChunk

source§

impl TSerializable for ColumnIndex

source§

impl TSerializable for ColumnMetaData

source§

impl TSerializable for CompressionCodec

source§

impl TSerializable for ConvertedType

source§

impl TSerializable for DataPageHeader

source§

impl TSerializable for DataPageHeaderV2

source§

impl TSerializable for DateType

source§

impl TSerializable for DecimalType

source§

impl TSerializable for DictionaryPageHeader

source§

impl TSerializable for Encoding

source§

impl TSerializable for EncryptionWithColumnKey

source§

impl TSerializable for EncryptionWithFooterKey

source§

impl TSerializable for EnumType

source§

impl TSerializable for FieldRepetitionType

source§

impl TSerializable for FileCryptoMetaData

source§

impl TSerializable for FileMetaData

source§

impl TSerializable for Float16Type

source§

impl TSerializable for IndexPageHeader

source§

impl TSerializable for IntType

source§

impl TSerializable for JsonType

source§

impl TSerializable for KeyValue

source§

impl TSerializable for ListType

source§

impl TSerializable for MapType

source§

impl TSerializable for MicroSeconds

source§

impl TSerializable for MilliSeconds

source§

impl TSerializable for NanoSeconds

source§

impl TSerializable for NullType

source§

impl TSerializable for OffsetIndex

source§

impl TSerializable for PageEncodingStats

source§

impl TSerializable for PageHeader

source§

impl TSerializable for PageLocation

source§

impl TSerializable for PageType

source§

impl TSerializable for RowGroup

source§

impl TSerializable for SchemaElement

source§

impl TSerializable for SizeStatistics

source§

impl TSerializable for SortingColumn

source§

impl TSerializable for SplitBlockAlgorithm

source§

impl TSerializable for Statistics

source§

impl TSerializable for StringType

source§

impl TSerializable for TimeType

source§

impl TSerializable for TimestampType

source§

impl TSerializable for Type

source§

impl TSerializable for TypeDefinedOrder

source§

impl TSerializable for UUIDType

source§

impl TSerializable for Uncompressed

source§

impl TSerializable for XxHash