pub trait UpdateFlavoredStatement {
// Required method
fn update_stmt<C, R>(&self, conn: &C) -> Result<String>
where C: Connection<R>,
R: Row;
// Provided methods
fn update_with_filter_stmt<C, R, F>(
&self,
conn: &C,
filter: &F,
) -> Result<String>
where C: Connection<R>,
R: Row,
F: FlavoredFilter { ... }
fn update_with_filter_order_limit_offset_stmt<C, R, F, O>(
&self,
conn: &C,
filter: &F,
order: &O,
limit: usize,
offset: usize,
) -> Result<String>
where C: Connection<R>,
R: Row,
F: FlavoredFilter,
O: FlavoredOrder { ... }
}
Required Methods§
fn update_stmt<C, R>(&self, conn: &C) -> Result<String>where
C: Connection<R>,
R: Row,
Provided Methods§
fn update_with_filter_stmt<C, R, F>( &self, conn: &C, filter: &F, ) -> Result<String>
fn update_with_filter_order_limit_offset_stmt<C, R, F, O>( &self, conn: &C, filter: &F, order: &O, limit: usize, offset: usize, ) -> Result<String>
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.