nautilus_serialization::arrow

Trait DecodeDataFromRecordBatch

Source
pub trait DecodeDataFromRecordBatch
where Self: Sized + Into<Data> + ArrowSchemaProvider,
{ // Required method fn decode_data_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch, ) -> Result<Vec<Data>, EncodingError>; }

Required Methods§

Source

fn decode_data_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch, ) -> Result<Vec<Data>, EncodingError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl DecodeDataFromRecordBatch for Bar

Source§

fn decode_data_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch, ) -> Result<Vec<Data>, EncodingError>

Source§

impl DecodeDataFromRecordBatch for OrderBookDelta

Source§

fn decode_data_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch, ) -> Result<Vec<Data>, EncodingError>

Source§

impl DecodeDataFromRecordBatch for OrderBookDepth10

Source§

fn decode_data_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch, ) -> Result<Vec<Data>, EncodingError>

Source§

impl DecodeDataFromRecordBatch for QuoteTick

Source§

fn decode_data_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch, ) -> Result<Vec<Data>, EncodingError>

Source§

impl DecodeDataFromRecordBatch for TradeTick

Source§

fn decode_data_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch, ) -> Result<Vec<Data>, EncodingError>

Implementors§