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
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
§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.