risingwave_common::util::value_encoding

Trait DatumFromProtoExt

source
pub trait DatumFromProtoExt {
    // Required method
    fn from_protobuf(_: &PbDatum, _: &DataType) -> Result<Datum>;
}

Required Methods§

source

fn from_protobuf(_: &PbDatum, _: &DataType) -> Result<Datum>

Create a datum from the protobuf representation with the given data type.

Object Safety§

This trait is not object safe.

Implementors§