pub trait Argument {
// Required method
fn render(&self, buf: &mut BytesMut);
}Expand description
Things which can be used as arguments for commands.
Required Methods§
Sourcefn render(&self, buf: &mut BytesMut)
fn render(&self, buf: &mut BytesMut)
Render the argument into the command buffer.
Spaces before/after arguments are inserted automatically, but values need to be escaped
manually. See escape_argument.