pub trait WriteSql<Arg> {
// Required methods
fn push_expr<T>(
&mut self,
operand: SqlExpr<'_, T>,
) -> Result<(), Arg::Error>
where Arg: ArgumentBuffer<T>;
fn push_value<T>(&mut self, value: T) -> Result<(), Arg::Error>
where Arg: ArgumentBuffer<T>;
fn push_cmd(&mut self, expr: &str);
fn as_command(&self) -> &str;
}
Required Methods§
fn push_expr<T>(&mut self, operand: SqlExpr<'_, T>) -> Result<(), Arg::Error>where
Arg: ArgumentBuffer<T>,
fn push_value<T>(&mut self, value: T) -> Result<(), Arg::Error>where
Arg: ArgumentBuffer<T>,
fn push_cmd(&mut self, expr: &str)
fn as_command(&self) -> &str
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.