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§
type Database: Database
sourcetype Arguments: Arguments<'q, Database = Self::Database>
type Arguments: Arguments<'q, Database = Self::Database>
The concrete Arguments
implementation for this database.
sourcetype ArgumentBuffer
type ArgumentBuffer
The concrete type used as a buffer for arguments while encoding.