pub struct RealRunner;Expand description
Spawns the real binary on PATH.
Trait Implementations§
Source§impl CommandRunner for RealRunner
impl CommandRunner for RealRunner
Source§fn run<'life0, 'life1, 'async_trait>(
&'life0 self,
program: &'static str,
args: &'life1 [String],
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn run<'life0, 'life1, 'async_trait>(
&'life0 self,
program: &'static str,
args: &'life1 [String],
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
program is a static name (e.g. "gh") so a missing binary can be
reported precisely; args is the full argument vector.Auto Trait Implementations§
impl Forget for RealRunner
impl Freeze for RealRunner
impl RefUnwindSafe for RealRunner
impl Send for RealRunner
impl Sync for RealRunner
impl Unpin for RealRunner
impl UnsafeUnpin for RealRunner
impl UnwindSafe for RealRunner
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