pub async fn send_command( stream: &mut TcpStream, cmd: &Command, ) -> Result<(), Error>
Send a single Command over the provided TcpStream (adds a trailing newline).
Command
TcpStream