pub trait RedisWrite {
// Required method
fn write_arg(&mut self, arg: &[u8]);
// Provided method
fn write_arg_fmt(&mut self, arg: impl Display) { ... }
}
Expand description
Abstraction trait for redis command abstractions.
Required Methods§
Provided Methods§
sourcefn write_arg_fmt(&mut self, arg: impl Display)
fn write_arg_fmt(&mut self, arg: impl Display)
Accepts a serialized redis command.
Object Safety§
This trait is not object safe.