pub trait InstrumentedExecute<'q, DB: Database>:
    Sized
    + Execute<'q, DB>
    + Send {
    // Required method
    fn execute_instrumented<P>(
        self,
        pool: &P,
        sql: impl AsRef<str> + Send,
    ) -> impl Future<Output = Result<DB::QueryResult, Error>> + Send
       where P: InstrumentedPool<Database = DB> + Send + Sync,
             for<'c> &'c P: Executor<'c, Database = DB>;
}Required Methods§
fn execute_instrumented<P>( self, pool: &P, sql: impl AsRef<str> + Send, ) -> impl Future<Output = Result<DB::QueryResult, Error>> + Send
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.