Type Alias ProcessPipe

Source
pub type ProcessPipe = Pipe<MergedAsyncReader<ChildStdout, ChildStderr>, ChildStdin>;

Aliased Type§

struct ProcessPipe { /* private fields */ }

Implementations§

Source§

impl ProcessPipe

Source

pub async fn from_app<S: AsRef<OsStr>>(program: S) -> ProcessPipeResult<Self>

Source

pub async fn from_app_args<S: AsRef<OsStr>, I: IntoIterator<Item = S>>( program: S, args: I, ) -> ProcessPipeResult<Self>

Source

pub fn spawn_command(value: Command) -> ProcessPipeResult<Self>

Trait Implementations§

Source§

impl From<(ChildStdin, ChildStdout, ChildStderr)> for ProcessPipe

Source§

fn from(value: (ChildStdin, ChildStdout, ChildStderr)) -> Self

Converts to this type from the input type.
Source§

impl TryFrom<Child> for ProcessPipe

Source§

type Error = ProcessPipeError

The type returned in the event of a conversion error.
Source§

fn try_from(value: Child) -> ProcessPipeResult<Self>

Performs the conversion.