Trait BatchExecutor

Source
pub trait BatchExecutor: Send {
    // Required method
    fn batch_with_params_tw<'life0, 'async_trait>(
        self: Pin<&'life0 mut Self>,
        batch: QueryBatch,
        with_tracing: bool,
        with_warnings: bool,
    ) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;

    // Provided method
    fn batch_with_params<'life0, 'async_trait>(
        self: Pin<&'life0 mut Self>,
        batch: QueryBatch,
    ) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Traits that provides methods for sending multiple queries to a DB server.

Required Methods§

Source

fn batch_with_params_tw<'life0, 'async_trait>( self: Pin<&'life0 mut Self>, batch: QueryBatch, with_tracing: bool, with_warnings: bool, ) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Provided Methods§

Source

fn batch_with_params<'life0, 'async_trait>( self: Pin<&'life0 mut Self>, batch: QueryBatch, ) -> Pin<Box<dyn Future<Output = Result<Frame>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§