Trait AsyncSimpleConnection

Source
pub trait AsyncSimpleConnection<Conn>
where Conn: 'static + SimpleConnection,
{ // Required method fn batch_execute_async<'life0, 'life1, 'async_trait>( &'life0 self, query: &'life1 str, ) -> Pin<Box<dyn Future<Output = AsyncResult<()>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; }

Required Methods§

Source

fn batch_execute_async<'life0, 'life1, 'async_trait>( &'life0 self, query: &'life1 str, ) -> Pin<Box<dyn Future<Output = AsyncResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementations on Foreign Types§

Source§

impl<Conn> AsyncSimpleConnection<Conn> for Pool<ConnectionManager<Conn>>
where Conn: 'static + Connection,

Source§

fn batch_execute_async<'life0, 'life1, 'async_trait>( &'life0 self, query: &'life1 str, ) -> Pin<Box<dyn Future<Output = AsyncResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§