pub trait OutputDatumType<'a, E>: Sized {
// Required methods
fn nullable() -> bool;
fn fallible() -> bool;
fn into_result(self, temp_storage: &'a RowArena) -> Result<Datum<'a>, E>;
}Expand description
A bridge between native Rust types and SQL runtime types represented in Datums
Required Methods§
Sourcefn into_result(self, temp_storage: &'a RowArena) -> Result<Datum<'a>, E>
fn into_result(self, temp_storage: &'a RowArena) -> Result<Datum<'a>, E>
Convert this Rust type into a Result containing a Datum, or an error
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.