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§
Sourcefn 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,
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