pub trait PipelineCommand: Send + Sync {
// Required methods
fn name(&self) -> &str;
fn args(&self) -> Vec<RespValue>;
fn key(&self) -> Option<String>;
}Expand description
Trait for commands that can be used in pipelines
pub trait PipelineCommand: Send + Sync {
// Required methods
fn name(&self) -> &str;
fn args(&self) -> Vec<RespValue>;
fn key(&self) -> Option<String>;
}Trait for commands that can be used in pipelines