pub struct AsyncProcess(/* private fields */);Available on crate feature
async-process only.Expand description
A Process implementation using the async-process crate for I/O.
Trait Implementations§
Source§impl Process for AsyncProcess
impl Process for AsyncProcess
type Stdin = ChildStdin
fn spawn( program: &str, args: Vec<&str>, pipe_output: bool, ) -> Result<Self, Error>
fn output( program: &str, args: Vec<&str>, ) -> impl Future<Output = Result<Output, Error>> + Send
fn take_stdin(&mut self) -> Option<Self::Stdin>
fn wait_with_output(self) -> impl Future<Output = Result<Output, Error>> + Send
Auto Trait Implementations§
impl Freeze for AsyncProcess
impl RefUnwindSafe for AsyncProcess
impl Send for AsyncProcess
impl Sync for AsyncProcess
impl Unpin for AsyncProcess
impl UnwindSafe for AsyncProcess
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