[][src]Trait sqlx_core::cursor::HasCursor

pub trait HasCursor<'c, 'q> {
    type Database: Database;
    type Cursor: Cursor<'c, 'q, Database = Self::Database>;
}

Associate Database with a Cursor of a generic lifetime.


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

Associated Types

type Database: Database

type Cursor: Cursor<'c, 'q, Database = Self::Database>

The concrete Cursor implementation for this database.

Loading content...

Implementors

Loading content...