PipelineExecutor

Trait PipelineExecutor 

Source
pub trait PipelineExecutor {
    // Required method
    fn execute_pipeline<'life0, 'async_trait>(
        &'life0 mut self,
        commands: Vec<Box<dyn PipelineCommand>>,
    ) -> Pin<Box<dyn Future<Output = RedisResult<Vec<RespValue>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Trait for executing pipelined commands

Required Methods§

Source

fn execute_pipeline<'life0, 'async_trait>( &'life0 mut self, commands: Vec<Box<dyn PipelineCommand>>, ) -> Pin<Box<dyn Future<Output = RedisResult<Vec<RespValue>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Execute a batch of commands and return their results

Implementors§