Type Alias ctf_pwn::io::StdoutPipe

source ·
pub type StdoutPipe = Pipe<ChildStdout, ChildStdin>;

Aliased Type§

struct StdoutPipe { /* private fields */ }

Implementations§

source§

impl StdoutPipe

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)> for StdoutPipe

source§

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

Converts to this type from the input type.