/// Sends a command.
/// NOTE: Although synchronous, this method never actually blocks.
Sends a command.
NOTE: Although synchronous, this method never actually blocks.
Sends a command . NOTE : Although synchronous this method never actually blocks .
pub fn send(&self, command: Command) -> Result<(), Error> {
        self.command_sender
            .send(command)
            .map_err(|_| Error::CommandSendFailure)?;
        Ok(())
    }
pub fn send ( & self , command : Command ) -> Result < ( ) , Error > { self . command_sender . send ( command ) . map_err ( | _ | Error :: CommandSendFailure ) ? ; Ok ( ( ) ) }
Sends a command.
Sends a command .
&self
command
Command