[][src]Trait debil::QueryExecutor

pub trait QueryExecutor<T, E> {
    fn load<'life0, 'async_trait>(
        &'life0 self,
        builder: QueryBuilder
    ) -> Pin<Box<dyn Future<Output = Result<Vec<T>, E>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn first<'life0, 'async_trait>(
        &'life0 self,
        builder: QueryBuilder
    ) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn save<'life0, 'async_trait>(
        &'life0 self,
        builder: QueryBuilder,
        data: T
    ) -> Pin<Box<dyn Future<Output = Result<(), E>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn save_all<'life0, 'async_trait>(
        &'life0 self,
        builder: QueryBuilder,
        data: Vec<T>
    ) -> Pin<Box<dyn Future<Output = Result<(), E>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

fn load<'life0, 'async_trait>(
    &'life0 self,
    builder: QueryBuilder
) -> Pin<Box<dyn Future<Output = Result<Vec<T>, E>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

fn first<'life0, 'async_trait>(
    &'life0 self,
    builder: QueryBuilder
) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

fn save<'life0, 'async_trait>(
    &'life0 self,
    builder: QueryBuilder,
    data: T
) -> Pin<Box<dyn Future<Output = Result<(), E>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

fn save_all<'life0, 'async_trait>(
    &'life0 self,
    builder: QueryBuilder,
    data: Vec<T>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

Loading content...