pub trait Connection {
    // Required method
    fn query_raw<'a, 'async_trait>(
        &'a self,
        sql: &'a str,
        params: &'a [Value<'a>]
    ) -> Pin<Box<dyn Future<Output = Result<ResultSet>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait;
}

Required Methods§

source

fn query_raw<'a, 'async_trait>( &'a self, sql: &'a str, params: &'a [Value<'a>] ) -> Pin<Box<dyn Future<Output = Result<ResultSet>> + Send + 'async_trait>>where Self: 'async_trait, 'a: 'async_trait,

Implementations on Foreign Types§

source§

impl Connection for Quaint

source§

fn query_raw<'a, 'async_trait>( &'a self, sql: &'a str, params: &'a [Value<'a>] ) -> Pin<Box<dyn Future<Output = Result<ResultSet>> + Send + 'async_trait>>where Self: 'async_trait, 'a: 'async_trait,

source§

impl Connection for Mutex<Connection>

source§

fn query_raw<'a, 'async_trait>( &'a self, sql: &'a str, params: &'a [Value<'a>] ) -> Pin<Box<dyn Future<Output = Result<ResultSet>> + Send + 'async_trait>>where Self: 'async_trait, 'a: 'async_trait,

Implementors§