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.
Implementors§
source§impl HasArguments<'_> for Mssql
Available on crate feature mssql only.
impl HasArguments<'_> for Mssql
Available on crate feature
mssql only.source§impl HasArguments<'_> for MySql
Available on crate feature mysql only.
impl HasArguments<'_> for MySql
Available on crate feature
mysql only.source§impl HasArguments<'_> for Postgres
Available on crate feature postgres only.
impl HasArguments<'_> for Postgres
Available on crate feature
postgres only.type Database = Postgres
type Arguments = PgArguments
type ArgumentBuffer = PgArgumentBuffer
source§impl<'q> HasArguments<'q> for Any
impl<'q> HasArguments<'q> for Any
type Database = Any
type Arguments = AnyArguments<'q>
type ArgumentBuffer = AnyArgumentBuffer<'q>
source§impl<'q> HasArguments<'q> for Sqlite
Available on crate feature sqlite only.
impl<'q> HasArguments<'q> for Sqlite
Available on crate feature
sqlite only.