Struct rust_shell::ShellChild

source ·
pub struct ShellChild(pub ShellChildArc);
Expand description

This wraps ShellChildArc and provides helper functions.

Tuple Fields§

§0: ShellChildArc

Implementations§

Sends a signal to the process.

Waits for termination of the process.

Obtains stdout as utf8 string. Returns Err if it returns non-zero exit code.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.