[][src]Trait rbatis_core::row::HasRow

pub trait HasRow<'c> {
    type Database: Database;
    type Row: Row<'c, Database = Self::Database>;
}

Associate Database with a Row of a generic lifetime.


The upcoming Rust feature, Generic Associated Types, should obviate the need for this trait.

Associated Types

type Database: Database

type Row: Row<'c, Database = Self::Database>

The concrete Row implementation for this database.

Loading content...

Implementors

impl<'a> HasRow<'a> for Postgres[src]

type Database = Postgres

type Row = PgRow<'a>

impl<'c> HasRow<'c> for MySql[src]

type Database = MySql

type Row = MySqlRow<'c>

impl<'c> HasRow<'c> for Sqlite[src]

type Database = Sqlite

type Row = SqliteRow<'c>

Loading content...