pub struct TokioRunner;Expand description
Subprocess runner backed by tokio::process::Command.
Trait Implementations§
Source§impl ProcessRunner for TokioRunner
impl ProcessRunner for TokioRunner
fn exec<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
program: &'life1 str,
args: &'life2 [&'life3 str],
cwd: Option<&'life4 Path>,
) -> Pin<Box<dyn Future<Output = Result<ProcessOutput>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Auto Trait Implementations§
impl Freeze for TokioRunner
impl RefUnwindSafe for TokioRunner
impl Send for TokioRunner
impl Sync for TokioRunner
impl Unpin for TokioRunner
impl UnsafeUnpin for TokioRunner
impl UnwindSafe for TokioRunner
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