pub async fn wait(self) -> io::Result<()> {
        match self.req_task.await {
            Ok(res) => Ok(res),
            Err(x) => Err(io::Error::new(io::ErrorKind::BrokenPipe, x)),
        }
    }
/// Wait for the cli session to terminate
Wait for the cli session to terminate
Wait for the cli session to terminate
pub async fn wait(self) -> io::Result<()> {
        match self.req_task.await {
            Ok(res) => Ok(res),
            Err(x) => Err(io::Error::new(io::ErrorKind::BrokenPipe, x)),
        }
    }
pub async fn wait ( self ) -> io :: Result < ( ) > { match self . req_task . await { Ok ( res ) => Ok ( res ) , Err ( x ) => Err ( io :: Error :: new ( io :: ErrorKind :: BrokenPipe , x ) ) , } }
Wait for the cli session to terminate
Wait for the cli session to terminate
self