pub trait Exec {
// Required method
fn exec<'a, 'life0, 'async_trait>(
&'life0 self,
stmt: Statement<'a>,
) -> Pin<Box<dyn Future<Output = Result<u64, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}Expand description
Helper Trait to implement the exec method on Client.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".