pub trait ExecuteTrait {
// Required method
fn execute_with_params<P>(&mut self, query: &str, params: P) -> Result<()>
where P: Params;
// Provided method
fn execute(&mut self, query: &str) -> Result<()> { ... }
}
Expand description
Generic trait to be implemented by SQL drivers (or more likely by proxy to SQL drivers) so that the functionalities provided by this crate can be leveraged
Required Methods§
Provided Methods§
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.