Struct mio_child_process::Process[][src]

pub struct Process { /* fields omitted */ }

An async child process

Methods

impl Process
[src]

Try to receive an event from the child. This should be called after mio's Poll returns an event for this token

Kill the process child, and all it's children.

Returns the OS-assigned process identifier associated with this child.

Trait Implementations

impl Write for Process
[src]

Write a buffer to the Stdin stream of this child process.

If the child is not created with .stdin(Stdio::piped()), This function will return an error ErrorKind::NotConnected.

Flushed the Stdin stream of this child process.

If the child is not created with .stdin(Stdio::piped()), This function will return an error ErrorKind::NotConnected.

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Creates a "by reference" adaptor for this instance of Write. Read more

impl Evented for Process
[src]

Register the child process with the poll so it can notify when the child process updates

Reregister the child process with the poll so it can notify when the child process updates

Deregister the child process with the poll

Auto Trait Implementations

impl Send for Process

impl !Sync for Process