[][src]Trait sqlx::database::HasStatement

pub trait HasStatement<'q> {
    type Database: Database;
    type Statement: Statement<'q>;
}

Associate Database with a Statement of a generic lifetime.


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

Associated Types

type Database: Database[src]

type Statement: Statement<'q>[src]

The concrete Statement implementation for this database.

Loading content...

Implementors

impl<'q> HasStatement<'q> for Any[src]

impl<'q> HasStatement<'q> for Mssql[src]

impl<'q> HasStatement<'q> for MySql[src]

impl<'q> HasStatement<'q> for Postgres[src]

impl<'q> HasStatement<'q> for Sqlite[src]

Loading content...