pub fn decode_cfd_batch(
metadata: &HashMap<String, String>,
record_batch: &RecordBatch,
) -> Result<Vec<Cfd>, EncodingError>Expand description
Decodes [Cfd] instruments from a record batch.
Not a DecodeFromRecordBatch implementation because that trait requires Into<Data>.
ยงErrors
Returns an EncodingError if the record batch cannot be decoded.