pub trait DecodeFromRecordBatch{
// Required method
fn decode_batch(
metadata: &HashMap<String, String>,
record_batch: RecordBatch,
) -> Result<Vec<Self>, EncodingError>;
}
Required Methods§
fn decode_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch, ) -> Result<Vec<Self>, 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.