[−][src]Trait tokio_diesel::AsyncConnection
Required methods
fn run<'life0, 'async_trait, R, Func>(
&'life0 self,
f: Func
) -> Pin<Box<dyn Future<Output = AsyncResult<R>> + Send + 'async_trait>> where
R: 'static + Send,
Func: 'static + FnOnce(&Conn) -> QueryResult<R> + Send,
R: 'async_trait,
Func: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
f: Func
) -> Pin<Box<dyn Future<Output = AsyncResult<R>> + Send + 'async_trait>> where
R: 'static + Send,
Func: 'static + FnOnce(&Conn) -> QueryResult<R> + Send,
R: 'async_trait,
Func: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
fn transaction<'life0, 'async_trait, R, Func>(
&'life0 self,
f: Func
) -> Pin<Box<dyn Future<Output = AsyncResult<R>> + Send + 'async_trait>> where
R: 'static + Send,
Func: 'static + FnOnce(&Conn) -> QueryResult<R> + Send,
R: 'async_trait,
Func: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
f: Func
) -> Pin<Box<dyn Future<Output = AsyncResult<R>> + Send + 'async_trait>> where
R: 'static + Send,
Func: 'static + FnOnce(&Conn) -> QueryResult<R> + Send,
R: 'async_trait,
Func: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
Implementations on Foreign Types
impl<Conn> AsyncConnection<Conn> for Pool<ConnectionManager<Conn>> where
Conn: 'static + Connection,
[src]
Conn: 'static + Connection,
fn run<'life0, 'async_trait, R, Func>(
&'life0 self,
f: Func
) -> Pin<Box<dyn Future<Output = AsyncResult<R>> + Send + 'async_trait>> where
R: 'static + Send,
Func: 'static + FnOnce(&Conn) -> QueryResult<R> + Send,
R: 'async_trait,
Func: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
f: Func
) -> Pin<Box<dyn Future<Output = AsyncResult<R>> + Send + 'async_trait>> where
R: 'static + Send,
Func: 'static + FnOnce(&Conn) -> QueryResult<R> + Send,
R: 'async_trait,
Func: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
fn transaction<'life0, 'async_trait, R, Func>(
&'life0 self,
f: Func
) -> Pin<Box<dyn Future<Output = AsyncResult<R>> + Send + 'async_trait>> where
R: 'static + Send,
Func: 'static + FnOnce(&Conn) -> QueryResult<R> + Send,
R: 'async_trait,
Func: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
f: Func
) -> Pin<Box<dyn Future<Output = AsyncResult<R>> + Send + 'async_trait>> where
R: 'static + Send,
Func: 'static + FnOnce(&Conn) -> QueryResult<R> + Send,
R: 'async_trait,
Func: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,