pub trait FromRow: Sized {
// Required method
fn from_row<R: Row>(row: &R) -> Result<Self, OrmError>;
}Expand description
Stable contract for mapping a SQL row into a Rust type.
Required 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.