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
Available on (crate features postgres or mysql or mssql or sqlite or odbc) and crate feature any only.
impl<'q> HasArguments<'q> for Any
Available on (crate features
postgres or mysql or mssql or sqlite or odbc) and crate feature any only.type Database = Any
type Arguments = AnyArguments<'q>
type ArgumentBuffer = AnyArgumentBuffer<'q>
Source§impl<'q> HasArguments<'q> for Odbc
Available on crate feature odbc only.
impl<'q> HasArguments<'q> for Odbc
Available on crate feature
odbc only.type Database = Odbc
type Arguments = OdbcArguments
type ArgumentBuffer = Vec<OdbcArgumentValue>
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.