pub trait FromSql: Sized {
// Required method
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>;
}
Expand description
A trait for types that can be created from a SQLite value.
Required Methods§
Sourcefn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
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.