pub trait RowAdapter<T> {
type Row;
// Required method
fn from_row(&self, row: &Self::Row) -> Result<T, RepoError>;
}Expand description
A tiny adapter for mapping a backend-specific row type into an entity T.
Backends (e.g., rusqlite, mysql_async, tokio_postgres) can implement this for their row representations.