Struct process_wrap::std::StdChild
source · pub struct StdChild(pub Child);Available on crate feature
std only.Expand description
A thin wrapper around Child.
This is used only because implementing StdChildWrapper directly on std’s Child creates
loops in the type system. It is not intended to be used directly, but only to be used internally
by the library.
Tuple Fields§
§0: ChildTrait Implementations§
source§impl StdChildWrapper for StdChild
impl StdChildWrapper for StdChild
source§fn into_inner(self: Box<Self>) -> Child
fn into_inner(self: Box<Self>) -> Child
Consume the wrapper and return the underlying
Child. Read moresource§fn start_kill(&mut self) -> Result<()>
fn start_kill(&mut self) -> Result<()>
Kill the
Child without waiting for it to exit. Read moresource§fn try_wait(&mut self) -> Result<Option<ExitStatus>>
fn try_wait(&mut self) -> Result<Option<ExitStatus>>
Check if the
Child has exited without blocking, and if so, return its exit status. Read moresource§fn wait(&mut self) -> Result<ExitStatus>
fn wait(&mut self) -> Result<ExitStatus>
Wait for the
Child to exit and return its exit status. Read moreAuto Trait Implementations§
impl RefUnwindSafe for StdChild
impl Send for StdChild
impl Sync for StdChild
impl Unpin for StdChild
impl UnwindSafe for StdChild
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more