pub trait Arguments<'q>: Send + Sized + Default {
type Database: Database;
// Required methods
fn reserve(&mut self, additional: usize, size: usize);
fn add<T>(&mut self, value: T)
where T: 'q + Send + Encode<'q, Self::Database> + Type<Self::Database>;
// Provided method
fn format_placeholder<W: Write>(&self, writer: &mut W) -> Result { ... }
}
Expand description
A tuple of arguments to be sent to the database.