Struct process_wrap::tokio::JobObjectChild
source · pub struct JobObjectChild { /* private fields */ }Available on Windows and crate feature
job-object and crate feature tokio1 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 TokioChildWrapper for JobObjectChild
impl TokioChildWrapper for JobObjectChild
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 wait(&mut self) -> Box<dyn Future<Output = Result<ExitStatus>> + Send + '_>
fn wait(&mut self) -> Box<dyn Future<Output = Result<ExitStatus>> + Send + '_>
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>>
Check if the
Child has exited without waiting, and if it has, 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