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

pub trait HasStatement<'q> where
    <Self::Statement as Statement<'q>>::Database == Self::Database
{ 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

type Statement: Statement<'q>

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...