pub async fn write_command<W: AsyncWrite + Unpin>( writer: &mut W, command: &str, params: &str, ) -> Result<()>
Encode command + params as a netstring and write to writer.
command
params
writer