pub trait InputDatumType<'a, E>: Sized {
// Required methods
fn nullable() -> bool;
fn try_from_result(
res: Result<Datum<'a>, E>,
) -> Result<Self, Result<Datum<'a>, E>>;
// Provided method
fn try_from_iter(
iter: &mut impl Iterator<Item = Result<Datum<'a>, E>>,
) -> Result<Self, Result<Option<Datum<'a>>, E>> { ... }
}Expand description
A bridge between native Rust types and SQL runtime types represented in Datums
Required Methods§
Provided Methods§
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.