pub struct Runner(/* private fields */);Implementations§
Source§impl Runner
impl Runner
pub fn new(program: impl AsRef<OsStr>) -> Self
pub fn command(&mut self) -> &mut Command
pub fn ignore_stdin(&mut self)
pub fn ignore_stdout(&mut self)
pub fn ignore_stderr(&mut self)
pub fn capture_stdout(&mut self)
pub fn capture_stderr(&mut self)
pub async fn spawn(&mut self) -> Result<Child, RunnerError>
pub async fn wait(&mut self, process: Child) -> RunnerResult
pub async fn execute(&mut self) -> RunnerResult
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Runner
impl !RefUnwindSafe for Runner
impl Send for Runner
impl Sync for Runner
impl Unpin for Runner
impl !UnwindSafe for Runner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more