Trait DatumToProtoExt

Source
pub trait DatumToProtoExt
where Self: ToDatumRef,
{ // Required method fn to_protobuf(&self) -> PbDatum; }

Required Methods§

Source

fn to_protobuf(&self) -> PbDatum

Convert the datum to the protobuf representation.

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.

Implementors§