Type Alias ctf_pwn::io::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

§

type Error = ProcessPipeError

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

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

Performs the conversion.