pub struct JobObjectChild { /* private fields */ }Available on Windows and crate feature
job-object and crate feature std only.Expand description
Wrapper for Child which waits on all processes within the job.
Trait Implementations§
Source§impl Debug for JobObjectChild
impl Debug for JobObjectChild
Source§impl StdChildWrapper for JobObjectChild
impl StdChildWrapper for JobObjectChild
Source§fn inner(&self) -> &Child
fn inner(&self) -> &Child
Available on crate feature
downcasting only.Obtain a reference to the underlying
Child.Source§fn inner_mut(&mut self) -> &mut Child
fn inner_mut(&mut self) -> &mut Child
Available on crate feature
downcasting only.Obtain a mutable reference to the underlying
Child.Source§fn into_inner(self: Box<Self>) -> Child
fn into_inner(self: Box<Self>) -> Child
Available on crate feature
downcasting only.Consume the wrapper and return the underlying
Child. Read moreSource§fn start_kill(&mut self) -> Result<()>
fn start_kill(&mut self) -> Result<()>
Available on crate feature
downcasting only.Kill the
Child without waiting for it to exit. Read moreSource§fn wait(&mut self) -> Result<ExitStatus>
fn wait(&mut self) -> Result<ExitStatus>
Available on crate feature
downcasting only.Wait for the
Child to exit and return its exit status. Read moreSource§fn try_wait(&mut self) -> Result<Option<ExitStatus>>
fn try_wait(&mut self) -> Result<Option<ExitStatus>>
Available on crate feature
downcasting only.Check if the
Child has exited without blocking, and if so, return its exit status. Read moreSource§fn try_clone(&self) -> Option<Box<dyn StdChildWrapper>>
fn try_clone(&self) -> Option<Box<dyn StdChildWrapper>>
Available on crate feature
downcasting only.Obtain a clone if possible. Read more
Source§fn stdin(&mut self) -> &mut Option<ChildStdin>
fn stdin(&mut self) -> &mut Option<ChildStdin>
Available on crate feature
downcasting only.Obtain the
Child’s stdin. Read moreSource§fn stdout(&mut self) -> &mut Option<ChildStdout>
fn stdout(&mut self) -> &mut Option<ChildStdout>
Available on crate feature
downcasting only.Obtain the
Child’s stdout. Read moreSource§fn stderr(&mut self) -> &mut Option<ChildStderr>
fn stderr(&mut self) -> &mut Option<ChildStderr>
Available on crate feature
downcasting only.Obtain the
Child’s stderr. Read moreSource§fn id(&self) -> u32
fn id(&self) -> u32
Available on crate feature
downcasting only.Obtain the
Child’s process ID. Read moreAuto Trait Implementations§
impl Freeze for JobObjectChild
impl !RefUnwindSafe for JobObjectChild
impl Send for JobObjectChild
impl Sync for JobObjectChild
impl Unpin for JobObjectChild
impl !UnwindSafe for JobObjectChild
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