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 ChildWrapper for JobObjectChild
impl ChildWrapper for JobObjectChild
Source§fn inner(&self) -> &dyn ChildWrapper
fn inner(&self) -> &dyn ChildWrapper
Obtain a reference to the wrapped child.
Source§fn inner_mut(&mut self) -> &mut dyn ChildWrapper
fn inner_mut(&mut self) -> &mut dyn ChildWrapper
Obtain a mutable reference to the wrapped child.
Source§fn into_inner(self: Box<Self>) -> Box<dyn ChildWrapper>
fn into_inner(self: Box<Self>) -> Box<dyn ChildWrapper>
Consume the current wrapper and return the wrapped child. Read more
Source§fn start_kill(&mut self) -> Result<()>
fn start_kill(&mut self) -> Result<()>
Kill the
Child without waiting for it to exit. 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 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