pub async fn command<'a, S1, S2>(&mut self, scenario: S1, command: S2)
    where
        S1: Into<Cow<'a, str>>,
        S2: Into<Cow<'a, str>>,
    {
        self.info(scenario);
        self.send(command).await;

        self.recv().await;

        self.output.clear();
    }
/// Runs a command and discards the response
Runs a command and discards the response
Runs a command and discards the response
pub async fn command<'a, S1, S2>(&mut self, scenario: S1, command: S2)
    where
        S1: Into<Cow<'a, str>>,
        S2: Into<Cow<'a, str>>,
    {
        self.info(scenario);
        self.send(command).await;
        self.recv().await;
        self.output.clear();
    }
pub async fn command < ' a , S1 , S2 > ( & mut self , scenario : S1 , command : S2 ) where S1 : Into < Cow < ' a , str > > , S2 : Into < Cow < ' a , str > > , { self . info ( scenario ) ; self . send ( command ) . await ; self . recv ( ) . await ; self . output . clear ( ) ; }
Runs a command and discards the response
Runs a command and discards the response
&mut self
scenario
S1
command
S2
&mut self
scenario
S1
command
S2