pub type ProcessPipe = Pipe<MergedAsyncReader<ChildStdout, ChildStderr>, ChildStdin>;
Aliased Type§
struct ProcessPipe { /* private fields */ }
Implementations§
Source§impl ProcessPipe
impl ProcessPipe
pub async fn from_app<S: AsRef<OsStr>>(program: S) -> ProcessPipeResult<Self>
pub async fn from_app_args<S: AsRef<OsStr>, I: IntoIterator<Item = S>>( program: S, args: I, ) -> ProcessPipeResult<Self>
pub fn spawn_command(value: Command) -> ProcessPipeResult<Self>
Trait Implementations§
Source§impl From<(ChildStdin, ChildStdout, ChildStderr)> for ProcessPipe
impl From<(ChildStdin, ChildStdout, ChildStderr)> for ProcessPipe
Source§fn from(value: (ChildStdin, ChildStdout, ChildStderr)) -> Self
fn from(value: (ChildStdin, ChildStdout, ChildStderr)) -> Self
Converts to this type from the input type.
Source§impl TryFrom<Child> for ProcessPipe
impl TryFrom<Child> for ProcessPipe
Source§type Error = ProcessPipeError
type Error = ProcessPipeError
The type returned in the event of a conversion error.
Source§fn try_from(value: Child) -> ProcessPipeResult<Self>
fn try_from(value: Child) -> ProcessPipeResult<Self>
Performs the conversion.