Trait rsql_drivers::QueryResult

source ·
pub trait QueryResult: Debug + Send + Sync {
    // Required methods
    fn columns<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Vec<String>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn next<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Option<Row>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Results from a query

Required Methods§

source

fn columns<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Vec<String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn next<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Option<Row>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§