Trait mz_repr::row::encoding::DatumToPersistFn
source · pub trait DatumToPersistFn<R> {
// Required method
fn call<T: DatumToPersist>(self) -> R
where DatumDecoder: From<DataRef<T>>,
DatumEncoder: From<DataMut<T>>;
}
Expand description
FnOnce<T: DatumToPersist>() -> R
This saves us from needing another enum_dispatch
for DatumToPersist.
Required Methods§
fn call<T: DatumToPersist>(self) -> R
Object Safety§
This trait is not object safe.