[][src]Trait tokio_diesel::AsyncRunQueryDsl

pub trait AsyncRunQueryDsl<Conn, AsyncConn> where
    Conn: 'static + Connection
{ fn execute_async<'life0, 'async_trait>(
        self,
        asc: &'life0 AsyncConn
    ) -> Pin<Box<dyn Future<Output = AsyncResult<usize>> + Send + 'async_trait>>
    where
        Self: ExecuteDsl<Conn>,
        'life0: 'async_trait,
        Self: 'async_trait
;
fn load_async<'life0, 'async_trait, U>(
        self,
        asc: &'life0 AsyncConn
    ) -> Pin<Box<dyn Future<Output = AsyncResult<Vec<U>>> + Send + 'async_trait>>
    where
        U: 'static + Send,
        Self: LoadQuery<Conn, U>,
        U: 'async_trait,
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_result_async<'life0, 'async_trait, U>(
        self,
        asc: &'life0 AsyncConn
    ) -> Pin<Box<dyn Future<Output = AsyncResult<U>> + Send + 'async_trait>>
    where
        U: 'static + Send,
        Self: LoadQuery<Conn, U>,
        U: 'async_trait,
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_results_async<'life0, 'async_trait, U>(
        self,
        asc: &'life0 AsyncConn
    ) -> Pin<Box<dyn Future<Output = AsyncResult<Vec<U>>> + Send + 'async_trait>>
    where
        U: 'static + Send,
        Self: LoadQuery<Conn, U>,
        U: 'async_trait,
        'life0: 'async_trait,
        Self: 'async_trait
;
fn first_async<'life0, 'async_trait, U>(
        self,
        asc: &'life0 AsyncConn
    ) -> Pin<Box<dyn Future<Output = AsyncResult<U>> + Send + 'async_trait>>
    where
        U: 'static + Send,
        Self: LimitDsl,
        Limit<Self>: LoadQuery<Conn, U>,
        U: 'async_trait,
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

fn execute_async<'life0, 'async_trait>(
    self,
    asc: &'life0 AsyncConn
) -> Pin<Box<dyn Future<Output = AsyncResult<usize>> + Send + 'async_trait>> where
    Self: ExecuteDsl<Conn>,
    'life0: 'async_trait,
    Self: 'async_trait, 

fn load_async<'life0, 'async_trait, U>(
    self,
    asc: &'life0 AsyncConn
) -> Pin<Box<dyn Future<Output = AsyncResult<Vec<U>>> + Send + 'async_trait>> where
    U: 'static + Send,
    Self: LoadQuery<Conn, U>,
    U: 'async_trait,
    'life0: 'async_trait,
    Self: 'async_trait, 

fn get_result_async<'life0, 'async_trait, U>(
    self,
    asc: &'life0 AsyncConn
) -> Pin<Box<dyn Future<Output = AsyncResult<U>> + Send + 'async_trait>> where
    U: 'static + Send,
    Self: LoadQuery<Conn, U>,
    U: 'async_trait,
    'life0: 'async_trait,
    Self: 'async_trait, 

fn get_results_async<'life0, 'async_trait, U>(
    self,
    asc: &'life0 AsyncConn
) -> Pin<Box<dyn Future<Output = AsyncResult<Vec<U>>> + Send + 'async_trait>> where
    U: 'static + Send,
    Self: LoadQuery<Conn, U>,
    U: 'async_trait,
    'life0: 'async_trait,
    Self: 'async_trait, 

fn first_async<'life0, 'async_trait, U>(
    self,
    asc: &'life0 AsyncConn
) -> Pin<Box<dyn Future<Output = AsyncResult<U>> + Send + 'async_trait>> where
    U: 'static + Send,
    Self: LimitDsl,
    Limit<Self>: LoadQuery<Conn, U>,
    U: 'async_trait,
    'life0: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

impl<T, Conn> AsyncRunQueryDsl<Conn, Pool<ConnectionManager<Conn>>> for T where
    T: 'static + Send + RunQueryDsl<Conn>,
    Conn: 'static + Connection
[src]

Loading content...