Trait sqlx::database::HasArguments
source · [−]pub trait HasArguments<'q> {
type Database: Database;
type Arguments: Arguments<'q>
where
<Self::Arguments as 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
The concrete Arguments
implementation for this database.
sourcetype ArgumentBuffer
type ArgumentBuffer
The concrete type used as a buffer for arguments while encoding.