Trait redis_test::IntoRedisCmdBytes
source · pub trait IntoRedisCmdBytes {
// Required method
fn into_redis_cmd_bytes(self) -> Vec<u8>;
}
Expand description
Helper trait for converting redis::Cmd
and redis::Pipeline
instances into
encoded byte vectors.
Required Methods§
sourcefn into_redis_cmd_bytes(self) -> Vec<u8>
fn into_redis_cmd_bytes(self) -> Vec<u8>
Convert a command into an encoded byte vector.