Trait sqlx_core::database::HasArguments

source ·
pub trait HasArguments<'q> {
    type Database: Database;
    type Arguments: Arguments<'q, Database = Self::Database>;
    type ArgumentBuffer;
}
Expand description

Associate Database with an Arguments of a generic lifetime.


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

Required Associated Types§

source

type Database: Database

source

type Arguments: Arguments<'q, Database = Self::Database>

The concrete Arguments implementation for this database.

source

type ArgumentBuffer

The concrete type used as a buffer for arguments while encoding.

Implementors§